[U-Boot] [PATCH 1/8] ColdFire: Fix board.c warning message
Tsi-Chung Liew
Tsi-Chung.Liew at freescale.com
Fri Aug 22 01:55:06 CEST 2008
From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
Implicit declaration of nand_init() warning message
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
---
lib_m68k/board.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index e59c6b0..9f4442e 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -63,6 +63,10 @@
#include <spi.h>
#endif
+#ifdef CONFIG_CMD_NAND
+#include <nand.h>
+#endif
+
DECLARE_GLOBAL_DATA_PTR;
static char *failed = "*** failed ***\n";
--
1.5.6.4
More information about the U-Boot
mailing list