Skip to content
Snippets Groups Projects
Commit e86c9530 authored by Måns Rullgård's avatar Måns Rullgård Committed by Tom Rini
Browse files

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: default avatarOtavio Salvador <otavio@ossystems.com.br>
Tested-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
[trini: Reword commit message]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent fe772ebd
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
/* Lowlevel init isn't used on i.MX28, so just have a dummy here */ /* 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)); void reset_cpu(ulong ignored) __attribute__((noreturn));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment