summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2015-07-28 13:39:49 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:47:55 (GMT)
commite86c95305912c77bacdae683a88edb20012cc271 (patch)
tree90a5ab65d8aca86c6394615ba92eb3f8dbf96b49 /arch
parentfe772ebd285b4c442a2406419c49a4c7e829d83a (diff)
downloadu-boot-e86c95305912c77bacdae683a88edb20012cc271.tar.xz
imx28: Fix issue with GCC 5.x
The semantics for non-static functions declared inline have changed in gcc5, causing the empty functions not to be emitted as an external symbol. Since lowlevel_init() is only referenced from start.S, it should not be declared inline at all. Reported-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Otavio Salvador <otavio@ossystems.com.br> [trini: Reword commit message] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm926ejs/mxs/mxs.c2
1 files changed, 1 insertions, 1 deletions
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));