soc: xtensa: imx8m: Remove unused file

Remove platform.h since is no longer used for SOF.
Move memory.h to include folder and modify the linker
to reflect this.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-11-09 18:50:28 +02:00 committed by Carles Cufí
commit 85a1124d5d
3 changed files with 2 additions and 23 deletions

View file

@ -1,21 +0,0 @@
/*
* Copyright (c) 2021 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __PLATFORM_PLATFORM_H__
#define __PLATFORM_PLATFORM_H__
#define PLATFORM_PRIMARY_CORE_ID 0
#define MAX_CORE_COUNT 1
#if PLATFORM_CORE_COUNT > MAX_CORE_COUNT
#error "Invalid core count - exceeding core limit"
/* IPC Interrupt */
#define PLATFORM_IPC_INTERRUPT IRQ_NUM_MU
#define PLATFORM_IPC_INTERRUPT_NAME NULL
#endif
#endif /* __PLATFORM_PLATFORM_H__ */

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 NXP
* Copyright 2021, 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -15,7 +15,7 @@ OUTPUT_ARCH(xtensa)
#include <zephyr/devicetree.h>
#include <xtensa/config/core-isa.h>
#include <soc/memory.h>
#include <memory.h>
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>