sof/zephyr/include
Kai Vehmanen 5ced8a4f62 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 <kai.vehmanen@linux.intel.com>
2024-11-13 15:44:32 +02:00
..
rtos zephyr: rtos: properly include sof/lib/memory.h 2024-10-21 14:35:38 +01:00
sof zephyr: lib/cpu.h: remove dependency to platform layer 2024-11-13 15:44:32 +02:00