Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SOF_IPC_FW_READY message initiated by host #7463

Merged
merged 2 commits into from
May 2, 2023

Commits on Apr 28, 2023

  1. zephyr: wrapper: Conditionally call platform_boot_complete()

    Due to the fact that on i.MX93 the host will initialize the
    SOF_IPC_FW_READY sequence there's no need to call
    platform_boot_complete() at the end of start_complete(). This
    will be handled in the IPC3 handler.
    
    This commit makes sure that aforementioned scenario won't
    happen for i.MX93 while keeping the flow constant for the
    other platforms.
    
    Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
    LaurentiuM1234 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    7934a1c View commit details
    Browse the repository at this point in the history
  2. ipc: ipc3: Add support for SOF_IPC_FW_READY sequence initiated by host

    In the case of i.MX93 Linux will send an IPC_FW_READY
    message to SOF and will expect to receive the following information
    in the hostbox:
    	1) reply structure
    	2) sof_ipc_fw_ready structure
    	3) sof_ipc_fw_ready structure
    
    This flow is required because the FW (due to Jailhouse's design)
    will be up before the platform driver from Linux so the
    SOF_IPC_FW_READY sequence can't be initiated by SOF.
    
    Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
    LaurentiuM1234 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    a34b2e8 View commit details
    Browse the repository at this point in the history