From e996bc339b0f39f6c0b29b1455ba7eb318b023d3 Mon Sep 17 00:00:00 2001 From: Jason McMullan Date: Fri, 30 May 2008 00:53:37 +0900 Subject: [MIPS] lib_mips/board.c: Add nand_init This patch adds the standard 'nand_init()' call to the mips generic 'board_init_r()' call, bringing MIPS in line with the other architectures. Signed-off-by: Jason McMullan Signed-off-by: Shinya Kuribayashi --- lib_mips/board.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib_mips') diff --git a/lib_mips/board.c b/lib_mips/board.c index 1645f2c7e0..43cfc17353 100644 --- a/lib_mips/board.c +++ b/lib_mips/board.c @@ -28,6 +28,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -416,6 +417,11 @@ void board_init_r (gd_t *id, ulong dest_addr) } #endif +#ifdef CONFIG_CMD_NAND + puts ("NAND: "); + nand_init (); /* go init the NAND */ +#endif + #if defined(CONFIG_MISC_INIT_R) /* miscellaneous platform dependent initialisations */ misc_init_r (); -- cgit v1.2.1