提交 e86c9530 编写于 作者: M Måns Rullgård 提交者: Tom Rini

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: NOtavio Salvador <otavio@ossystems.com.br>
Tested-by: NOtavio Salvador <otavio@ossystems.com.br>
[trini: Reword commit message]
Signed-off-by: NTom Rini <trini@konsulko.com>
上级 fe772ebd
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册