From: Jason McMullan Date: Thu, 29 May 2008 15:53:37 +0000 (+0900) Subject: [MIPS] lib_mips/board.c: Add nand_init X-Git-Tag: v1.3.4-rc1~114^2~25^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e996bc339b0f39f6c0b29b1455ba7eb318b023d3;p=u-boot [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 --- 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 ();