Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zephyr: cpu: only run z_init_cpu() on boot for MTL
Only run z_init_cpu() on boot for MTL by replacing the check for IMR_CONTEXT_SAVE with a check for ACE. Therefore, - on MTL, only run z_init_cpu() on boot, not when waking up from D3, regardless whether saving to IMR is enabled or not. - on other platforms, run z_init_cpu() both on boot and on waking up from D3. The difference is caused by differnet Zephyr implementations between MTL and other platforms. Moreover, saving context to IMR is a feature for MTL only, not available for other platorms. Signed-off-by: Mengdong Lin <[email protected]>
- Loading branch information