soc: xtensa: nxp: add resource_table section in linker script

Add resource_table section in linker script for nxp_adsp_imx8m
for inter-process communication.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-06-23 11:41:32 +03:00 committed by Carles Cufí
commit 1295283a8a

View file

@ -171,6 +171,12 @@ EXTERN(ext_man_fw_ver)
SECTIONS
{
#ifdef CONFIG_OPENAMP_RSC_TABLE
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
{
KEEP(*(.resource_table*))
} GROUP_LINK_IN(ROMABLE_REGION)
#endif
#include <zephyr/linker/rel-sections.ld>
.ResetVector.text : ALIGN(4)