soc: xtensa: imx8: Remove include/soc directory

Since platform.h is a SOF-specific header that's no
longer used there's no point in keeping the include/soc directory.
As such, move memory.h to include/ and modify the linker script
to reflect this location change.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
Laurentiu Mihalcea 2023-09-22 10:23:06 +03:00 committed by Carles Cufí
parent a0ecc05cdf
commit f29d6edece
3 changed files with 1 additions and 22 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

@ -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>