From: TsiChung Liew <[EMAIL PROTECTED]> Implicit declaration of nand_init() warning message
Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- 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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot