soc: xtensa: nxp_adsp: rt595: move .noinit

Mark .noinit section as NOLOAD and move it
next to the other NOLOAD sections. This way
it is removed from a generated image that is
embedded in the rt595 app image.

Signed-off-by: Mike J. Chen <mjchen@google.com>
This commit is contained in:
Mike J. Chen 2023-10-31 10:37:25 -07:00 committed by Fabio Baltieri
commit 385ceb7145

View file

@ -329,12 +329,6 @@ SECTIONS
KEEP (*(.fw_ready_metadata))
} >sdram0 :sdram0_phdr
.noinit : ALIGN(4)
{
*(.noinit)
*(.noinit.*)
} >sdram0 :sdram0_phdr
.data : ALIGN(4)
{
__data_start = ABSOLUTE(.);
@ -391,6 +385,12 @@ SECTIONS
_bss_end = ABSOLUTE(.);
} >sdram0 :sdram0_phdr
.noinit (NOLOAD) : ALIGN(4)
{
*(.noinit)
*(.noinit.*)
} >sdram0 :sdram0_phdr
.heap_mem (NOLOAD) : ALIGN(8)
{
. = ALIGN (8);