summaryrefslogtreecommitdiff
path: root/board/alphaproject
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/alphaproject
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/alphaproject')
-rw-r--r--board/alphaproject/ap_sh4a_4a/Makefile2
1 files changed, 1 insertions, 1 deletions
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