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

Add resource_table section in linker script
for i.MX8ULP, for inter-process communication.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2024-12-16 03:23:24 +02:00 committed by Benjamin Cabé
commit ab5c0b5195

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 NXP
* Copyright 2023-2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -172,6 +172,13 @@ 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>
#ifdef CONFIG_LLEXT