Skip to content

Commit

Permalink
soc: xtensa: nxp_adsp: rt595: move .noinit
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 385ceb7)

Original-Signed-off-by: Mike J. Chen <mjchen@google.com>
GitOrigin-RevId: 385ceb7
Change-Id: I30e51cb603c92e7f1837bf7e771fafbf5beba813
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4997744
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
mjchen0 authored and Chromeos LUCI committed Nov 1, 2023
1 parent aabe14c commit b8bddf1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions soc/xtensa/nxp_adsp/rt5xx/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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(.);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b8bddf1

Please sign in to comment.