diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-11-28 00:15:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-02 21:32:47 -0500 |
commit | 9ec4a67ef342b2dbcecc9721f5369f022ea59b26 (patch) | |
tree | 3610595bf25ea7b7988f76f5848040a7d8c0d04c /arch/sh | |
parent | 3f8b5391ec531adec6fa7602aeb8894b7a23d44d (diff) | |
download | u-boot-imx-9ec4a67ef342b2dbcecc9721f5369f022ea59b26.zip u-boot-imx-9ec4a67ef342b2dbcecc9721f5369f022ea59b26.tar.gz u-boot-imx-9ec4a67ef342b2dbcecc9721f5369f022ea59b26.tar.bz2 |
sh: place board lowlevel_init code in the beginning of .text
Reference lowlevel_init of all supported SH2A/SH3/SH4/SH4A boards
from a shared linker script, the lowlevel_init function will be called
by a relative address.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/cpu/u-boot.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds index 6f38563..e90ac06 100644 --- a/arch/sh/cpu/u-boot.lds +++ b/arch/sh/cpu/u-boot.lds @@ -31,7 +31,7 @@ SECTIONS .text : { KEEP(*/start.o (.text)) - KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.spiboot1.text)) + KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text)) KEEP(*(.spiboot2.text)) . = ALIGN(8192); common/env_embedded.o (.ppcenv) |