summaryrefslogtreecommitdiff
path: root/board/renesas/sh7785lcr
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-11-28 00:15:26 +0200
committerTom Rini <trini@konsulko.com>2016-12-02 21:32:47 -0500
commit9ec4a67ef342b2dbcecc9721f5369f022ea59b26 (patch)
tree3610595bf25ea7b7988f76f5848040a7d8c0d04c /board/renesas/sh7785lcr
parent3f8b5391ec531adec6fa7602aeb8894b7a23d44d (diff)
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 'board/renesas/sh7785lcr')
-rw-r--r--board/renesas/sh7785lcr/Makefile2
1 files changed, 1 insertions, 1 deletions
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