Skip to content
Snippets Groups Projects
Commit 34f98a3d authored by Tom Rini's avatar Tom Rini
Browse files

sh: Fix linking of ms7722se


While it is true that we no longer have 'ppcenv' and similar sections,
including env/embedded.o at all results in the text/etc sections being
available for the rest of the link.  This in turn is required for the
setup used on ms7722se.  This also, likely, needs further fine-tuning.

Fixes: f40ad66f ("arch/sh: don't bring common/env_embedded.o into the link")
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent c3b572c4
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ SECTIONS
KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
KEEP(*(.spiboot2.text))
. = ALIGN(8192);
#ifdef CONFIG_ENV_IS_IN_FLASH
env/embedded.o (.doesnotexist)
. = ALIGN(8192);
#endif
*(.text)
. = ALIGN(4);
} >ram =0xFF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment