
28 Jul
2015
28 Jul
'15
7:16 p.m.
On Tue, Jul 28, 2015 at 10:39 AM, Måns Rullgård mans@mansr.com wrote: ...
Since that function is only referenced from start.S, it should not be declared inline at all. This patch should thus fix your problem:
diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index ef130ae..b1d8721 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR;
/* Lowlevel init isn't used on i.MX28, so just have a dummy here */ -inline void lowlevel_init(void) {} +void lowlevel_init(void) {}
void reset_cpu(ulong ignored) __attribute__((noreturn));
Works like a charm.
Tested-by: Otavio Salvador otavio@ossystems.com.br
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750