aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-10 22:26:28 +0200
committerWolfgang Denk <wd@denx.de>2011-09-10 22:27:24 +0200
commit3b7175524939ffc73af2b8eb1ee5166838d3f260 (patch)
tree54a65c067971834bd180e3742034eab9afe04da8
parentbd6ce9d171b45465daa23bede5214100dd8b5eba (diff)
downloadu-boot-linaro-stable-3b7175524939ffc73af2b8eb1ee5166838d3f260.tar.gz
ARM: hawkboard: fix compilation of nand_spl
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>
-rw-r--r--board/davinci/da8xxevm/hawkboard_nand_spl.c1
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 915523632..e5e65e5fd 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;