[U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl

Wolfgang Denk wd at denx.de
Sat Sep 10 22:28:15 CEST 2011


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 at denx.de>
Cc: Syed Mohammed Khasim <sm.khasim at gmail.com>
Cc: Sughosh Ganu <urwithsughosh at gmail.com>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
---
 board/davinci/da8xxevm/hawkboard_nand_spl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c b/board/davinci/da8xxevm/hawkboard_nand_spl.c
index 9155236..e5e65e5 100644
--- a/board/davinci/da8xxevm/hawkboard_nand_spl.c
+++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c
@@ -28,6 +28,7 @@
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 #include <ns16550.h>
+#include <nand.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
1.7.6



More information about the U-Boot mailing list