soc: nxp: imx: add resource_table section in linker script
Add resource_table section in linker script for i.MX8QXP and i.MX8QM, for inter-process communication. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
715b97397b
commit
c85d157fc0
2 changed files with 15 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021 NXP
|
* Copyright 2021, 2024 NXP
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
@ -171,6 +171,12 @@ EXTERN(ext_man_fw_ver)
|
||||||
|
|
||||||
SECTIONS
|
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>
|
#include <zephyr/linker/rel-sections.ld>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021 NXP
|
* Copyright 2021, 2024 NXP
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
@ -172,6 +172,13 @@ EXTERN(ext_man_fw_ver)
|
||||||
SECTIONS
|
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>
|
#include <zephyr/linker/rel-sections.ld>
|
||||||
|
|
||||||
#ifdef CONFIG_LLEXT
|
#ifdef CONFIG_LLEXT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue