From b7598de57d66548f3291957722be1f8954ac9f9a Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Tue, 12 Nov 2024 11:26:24 +0200 Subject: [PATCH] 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 --- .../imx93_a55/include/platform/lib/cpu.h | 23 ------------------- src/platform/imx95/include/platform/lib/cpu.h | 19 --------------- 2 files changed, 42 deletions(-) delete mode 100644 src/platform/imx93_a55/include/platform/lib/cpu.h delete mode 100644 src/platform/imx95/include/platform/lib/cpu.h diff --git a/src/platform/imx93_a55/include/platform/lib/cpu.h b/src/platform/imx93_a55/include/platform/lib/cpu.h deleted file mode 100644 index 7a92a59b574f..000000000000 --- a/src/platform/imx93_a55/include/platform/lib/cpu.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright 2023 NXP - */ - -#ifdef __SOF_LIB_CPU_H__ - -#ifndef __PLATFORM_LIB_CPU_H__ -#define __PLATFORM_LIB_CPU_H__ - -/* note: although the core assigned to the inmate - * might not have the ID = 0 according to Linux, - * Zephyr will still index its cores starting from 0. - */ -#define PLATFORM_PRIMARY_CORE_ID 0 - -#endif /* __PLATFORM_LIB_CPU_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/cpu.h" - -#endif /* __SOF_LIB_CPU_H__ */ diff --git a/src/platform/imx95/include/platform/lib/cpu.h b/src/platform/imx95/include/platform/lib/cpu.h deleted file mode 100644 index 54fd25cf4b37..000000000000 --- a/src/platform/imx95/include/platform/lib/cpu.h +++ /dev/null @@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright 2024 NXP - */ - -#ifdef __SOF_LIB_CPU_H__ - -#ifndef __PLATFORM_LIB_CPU_H__ -#define __PLATFORM_LIB_CPU_H__ - -#define PLATFORM_PRIMARY_CORE_ID 0 - -#endif /* __PLATFORM_LIB_CPU_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/cpu.h" - -#endif /* __SOF_LIB_CPU_H__ */