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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions src/platform/ace30/include/platform/lib/cpu.h

This file was deleted.

23 changes: 0 additions & 23 deletions src/platform/imx93_a55/include/platform/lib/cpu.h

This file was deleted.

19 changes: 0 additions & 19 deletions src/platform/imx95/include/platform/lib/cpu.h

This file was deleted.

25 changes: 0 additions & 25 deletions src/platform/intel/ace/include/ace/lib/cpu.h

This file was deleted.

27 changes: 0 additions & 27 deletions src/platform/intel/cavs/include/cavs/lib/cpu.h

This file was deleted.

24 changes: 0 additions & 24 deletions src/platform/lunarlake/include/platform/lib/cpu.h

This file was deleted.

24 changes: 0 additions & 24 deletions src/platform/meteorlake/include/platform/lib/cpu.h

This file was deleted.

26 changes: 0 additions & 26 deletions src/platform/tigerlake/include/platform/lib/cpu.h

This file was deleted.

10 changes: 9 additions & 1 deletion zephyr/include/sof/lib/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
#ifndef __SOF_LIB_CPU_H__
#define __SOF_LIB_CPU_H__

#include <platform/lib/cpu.h>
/**
* \brief Id of primary DSP core
*
* SOF IPC protocols make a distinction between primary
* and secondary cores. In Zephyr, primary core id concept
* is not present in public OS interface, but in implementation
* zero is the boot core (see z_smp_init() in Zephyr).
*/
#define PLATFORM_PRIMARY_CORE_ID 0

#if !defined(__ASSEMBLER__) && !defined(LINKER)

Expand Down
Loading