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 | |
parent | 3f8b5391ec531adec6fa7602aeb8894b7a23d44d (diff) | |
download | u-boot-9ec4a67ef342b2dbcecc9721f5369f022ea59b26.tar.gz |
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>
-rw-r--r-- | arch/sh/cpu/u-boot.lds | 2 | ||||
-rw-r--r-- | board/alphaproject/ap_sh4a_4a/Makefile | 2 | ||||
-rw-r--r-- | board/espt/Makefile | 2 | ||||
-rw-r--r-- | board/mpr2/Makefile | 2 | ||||
-rw-r--r-- | board/ms7720se/Makefile | 2 | ||||
-rw-r--r-- | board/ms7722se/Makefile | 2 | ||||
-rw-r--r-- | board/ms7750se/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/MigoR/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/ap325rxa/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/ecovec/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/r0p7734/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/r2dplus/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/r7780mp/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/rsk7203/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/rsk7264/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/rsk7269/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/sh7763rdp/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/sh7785lcr/Makefile | 2 | ||||
-rw-r--r-- | board/shmin/Makefile | 2 |
19 files changed, 19 insertions, 19 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds index 6f38563303..e90ac06c37 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) diff --git a/board/alphaproject/ap_sh4a_4a/Makefile b/board/alphaproject/ap_sh4a_4a/Makefile index 486d0ac550..df76466e9b 100644 --- a/board/alphaproject/ap_sh4a_4a/Makefile +++ b/board/alphaproject/ap_sh4a_4a/Makefile @@ -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 diff --git a/board/espt/Makefile b/board/espt/Makefile index 8a8a2c992b..f24e9cf49a 100644 --- a/board/espt/Makefile +++ b/board/espt/Makefile @@ -8,4 +8,4 @@ # obj-y := espt.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/mpr2/Makefile b/board/mpr2/Makefile index b6cdeb4efa..0cb1dd6104 100644 --- a/board/mpr2/Makefile +++ b/board/mpr2/Makefile @@ -16,4 +16,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := mpr2.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/ms7720se/Makefile b/board/ms7720se/Makefile index 1819c4c10d..66c25fa6f3 100644 --- a/board/ms7720se/Makefile +++ b/board/ms7720se/Makefile @@ -13,4 +13,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := ms7720se.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/ms7722se/Makefile b/board/ms7722se/Makefile index 9f7af78738..808d459975 100644 --- a/board/ms7722se/Makefile +++ b/board/ms7722se/Makefile @@ -10,4 +10,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := ms7722se.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/ms7750se/Makefile b/board/ms7750se/Makefile index a8e3ca0acf..a010e32cc3 100644 --- a/board/ms7750se/Makefile +++ b/board/ms7750se/Makefile @@ -6,4 +6,4 @@ # obj-y := ms7750se.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/MigoR/Makefile b/board/renesas/MigoR/Makefile index b4691a1165..0686f9749e 100644 --- a/board/renesas/MigoR/Makefile +++ b/board/renesas/MigoR/Makefile @@ -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 diff --git a/board/renesas/ap325rxa/Makefile b/board/renesas/ap325rxa/Makefile index ff72de902c..18e1ed5f5d 100644 --- a/board/renesas/ap325rxa/Makefile +++ b/board/renesas/ap325rxa/Makefile @@ -9,4 +9,4 @@ # obj-y := ap325rxa.o cpld-ap325rxa.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/ecovec/Makefile b/board/renesas/ecovec/Makefile index 943fa4760d..2e6fb50fea 100644 --- a/board/renesas/ecovec/Makefile +++ b/board/renesas/ecovec/Makefile @@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := ecovec.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/r0p7734/Makefile b/board/renesas/r0p7734/Makefile index 1f24d92962..bfe52d6dc9 100644 --- a/board/renesas/r0p7734/Makefile +++ b/board/renesas/r0p7734/Makefile @@ -4,4 +4,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := r0p7734.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/r2dplus/Makefile b/board/renesas/r2dplus/Makefile index acffb6d319..4021ab6228 100644 --- a/board/renesas/r2dplus/Makefile +++ b/board/renesas/r2dplus/Makefile @@ -6,4 +6,4 @@ # obj-y := r2dplus.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/r7780mp/Makefile b/board/renesas/r7780mp/Makefile index 8dab4358cd..66813a3e13 100644 --- a/board/renesas/r7780mp/Makefile +++ b/board/renesas/r7780mp/Makefile @@ -6,4 +6,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := r7780mp.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/rsk7203/Makefile b/board/renesas/rsk7203/Makefile index 16acfaf40a..08139a2339 100644 --- a/board/renesas/rsk7203/Makefile +++ b/board/renesas/rsk7203/Makefile @@ -7,4 +7,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := rsk7203.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/rsk7264/Makefile b/board/renesas/rsk7264/Makefile index 7ada697c88..2a845a0041 100644 --- a/board/renesas/rsk7264/Makefile +++ b/board/renesas/rsk7264/Makefile @@ -4,4 +4,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := rsk7264.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/rsk7269/Makefile b/board/renesas/rsk7269/Makefile index 0f053d8fa6..86b2263310 100644 --- a/board/renesas/rsk7269/Makefile +++ b/board/renesas/rsk7269/Makefile @@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := rsk7269.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/sh7763rdp/Makefile b/board/renesas/sh7763rdp/Makefile index cbf38bbc18..13f7ae9b47 100644 --- a/board/renesas/sh7763rdp/Makefile +++ b/board/renesas/sh7763rdp/Makefile @@ -9,4 +9,4 @@ # obj-y := sh7763rdp.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o diff --git a/board/renesas/sh7785lcr/Makefile b/board/renesas/sh7785lcr/Makefile index e8cfb053ce..1bf5d532c7 100644 --- a/board/renesas/sh7785lcr/Makefile +++ b/board/renesas/sh7785lcr/Makefile @@ -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 diff --git a/board/shmin/Makefile b/board/shmin/Makefile index daf36deed0..d16966189d 100644 --- a/board/shmin/Makefile +++ b/board/shmin/Makefile @@ -7,4 +7,4 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y := shmin.o -obj-y += lowlevel_init.o +extra-y += lowlevel_init.o |