From 9ec4a67ef342b2dbcecc9721f5369f022ea59b26 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Mon, 28 Nov 2016 00:15:26 +0200 Subject: 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 Reviewed-by: Simon Glass --- board/alphaproject/ap_sh4a_4a/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/alphaproject') diff --git a/board/alphaproject/ap_sh4a_4a/Makefile b/board/alphaproject/ap_sh4a_4a/Makefile index 486d0ac..df76466 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 -- cgit v1.1