Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zephyr: lib/cpu.h: remove dependency to platform layer
Remove dependency to platform cpu.h layer for Zephyr targets. The lib/cpu.h is now common to all SOF targets when building for Zephyr. Add a note to PLATFORM_PRIMARY_CORE_ID documentation that "primary core" is a SOF/application convention and not visible in Zephyr OS interfaces. Core 0 is the boot core in Zephyr, so use this definition as PLATFORM_PRIMARY_CORE_ID for all SOF targets. This was already the case in all platform definitions, so no functional change. In SOF, the primary/secondary distinction is primarily used in IPC code, together with Zephyr CONFIG_SMP_BOOT_DELAY=y. Signed-off-by: Kai Vehmanen <[email protected]>
- Loading branch information