ARM: hawkboard: fix compilation of nand_spl
authorWolfgang Denk <wd@denx.de>
Sat, 10 Sep 2011 20:26:28 +0000 (22:26 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 10 Sep 2011 20:27:24 +0000 (22:27 +0200)
Fix build problem:

nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f':
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot'
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Syed Mohammed Khasim <sm.khasim@gmail.com>
Cc: Sughosh Ganu <urwithsughosh@gmail.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
board/davinci/da8xxevm/hawkboard_nand_spl.c

index 915523632e97aacc0eab662f0147c8ce53bb8d25..e5e65e5fd00a0e68704913b9b0dfabcbd435e915 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 #include <ns16550.h>
+#include <nand.h>
 
 DECLARE_GLOBAL_DATA_PTR;