[U-Boot] openrisc: Fix build errors

Tom Rini trini at konsulko.com
Mon Jan 25 22:30:23 CET 2016


On Mon, Jan 25, 2016 at 01:53:13AM -0800, Bin Meng wrote:

> 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 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160125/93ddcc90/attachment.sig>


More information about the U-Boot mailing list