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