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/shmin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/shmin') diff --git a/board/shmin/Makefile b/board/shmin/Makefile index daf36de..d169661 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 -- cgit v1.1