mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 15:13:31 +08:00
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>
This commit is contained in:
parent
3f8b5391ec
commit
9ec4a67ef3
@ -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)
|
||||
|
@ -4,4 +4,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := ap_sh4a_4a.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -8,4 +8,4 @@
|
||||
#
|
||||
|
||||
obj-y := espt.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -16,4 +16,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := mpr2.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -13,4 +13,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := ms7720se.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -10,4 +10,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := ms7722se.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -6,4 +6,4 @@
|
||||
#
|
||||
|
||||
obj-y := ms7750se.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -10,4 +10,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := migo_r.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -9,4 +9,4 @@
|
||||
#
|
||||
|
||||
obj-y := ap325rxa.o cpld-ap325rxa.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -5,4 +5,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := ecovec.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -4,4 +4,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := r0p7734.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -6,4 +6,4 @@
|
||||
#
|
||||
|
||||
obj-y := r2dplus.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -6,4 +6,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := r7780mp.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -7,4 +7,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := rsk7203.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -4,4 +4,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := rsk7264.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -5,4 +5,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := rsk7269.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -9,4 +9,4 @@
|
||||
#
|
||||
|
||||
obj-y := sh7763rdp.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -4,4 +4,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := sh7785lcr.o selfcheck.o rtl8169_mac.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
@ -7,4 +7,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-y := shmin.o
|
||||
obj-y += lowlevel_init.o
|
||||
extra-y += lowlevel_init.o
|
||||
|
Loading…
Reference in New Issue
Block a user