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

zephyr: lib/cpu.h: remove dependency to platform layer #9648

Merged
merged 3 commits into from
Nov 13, 2024

Commits on Nov 12, 2024

  1. 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]>
    kv2019i committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    198c718 View commit details
    Browse the repository at this point in the history
  2. platform: Intel: remove lib/cpu.h

    cpu.h definition is no longer needed in platform definitions for
    SOF Zephyr builds. Remove for all Intel targets.
    
    Signed-off-by: Kai Vehmanen <[email protected]>
    kv2019i committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    634bd11 View commit details
    Browse the repository at this point in the history
  3. platform: imx93_a55/imx95: remove lib/cpu.h

    Platform cpu.h no longer needed in Zephyr builds, so remove
    these files as obsolete.
    
    Signed-off-by: Kai Vehmanen <[email protected]>
    kv2019i committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b7598de View commit details
    Browse the repository at this point in the history