soc: nxp: imx: add .resource_table section for imx95
Add .resource_table section to the linker script for the i.MX95. This section is used by intercore communication to publish features and configurations to the remote Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
This commit is contained in:
parent
be18415fc3
commit
f0134cdd83
2 changed files with 18 additions and 1 deletions
|
@ -5,4 +5,4 @@ zephyr_include_directories(.)
|
|||
zephyr_library()
|
||||
zephyr_library_sources(soc.c)
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
|
||||
|
|
17
soc/nxp/imx/imx9/imx95/m7/linker.ld
Normal file
17
soc/nxp/imx/imx9/imx95/m7/linker.ld
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2025 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
#ifdef CONFIG_OPENAMP_RSC_TABLE
|
||||
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
|
||||
{
|
||||
KEEP(*(.resource_table*))
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue