summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-01-25 01:53:13 -0800
committerTom Rini <trini@konsulko.com>2016-01-25 10:40:01 -0500
commit81b0b0d93bfe84623f74b49cedaf23f3013b7dfc (patch)
treecfa52d79cb1c338d2b5b42ace2e2a60244bfeb35 /arch/openrisc
parente6655d7c23b5645602f6b1143d5e6ec858e3a431 (diff)
downloadu-boot-imx-81b0b0d93bfe84623f74b49cedaf23f3013b7dfc.zip
u-boot-imx-81b0b0d93bfe84623f74b49cedaf23f3013b7dfc.tar.gz
u-boot-imx-81b0b0d93bfe84623f74b49cedaf23f3013b7dfc.tar.bz2
openrisc: Fix build errors
With kernel.org toolchain, it reports: CC arch/openrisc/lib/board.o arch/openrisc/lib/board.c:56:2: error: 'console_init_f' undeclared here (not in a function) arch/openrisc/lib/board.c: In function 'board_init': arch/openrisc/lib/board.c:120:2: warning: implicit declaration of function 'console_init_r' make[1]: *** [arch/openrisc/lib/board.o] Error 1 make: *** [arch/openrisc/lib] Error 2 Include console.h will fix this. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/lib/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/lib/board.c b/arch/openrisc/lib/board.c
index c26cc8f..b7fbd2f 100644
--- a/arch/openrisc/lib/board.c
+++ b/arch/openrisc/lib/board.c
@@ -13,6 +13,7 @@
*/
#include <common.h>
+#include <console.h>
#include <stdio_dev.h>
#include <watchdog.h>
#include <malloc.h>