summaryrefslogtreecommitdiff
path: root/lib_mips
diff options
context:
space:
mode:
authorJason McMullan <mcmullan@netapp.com>2008-05-30 00:53:37 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-05-30 00:53:37 +0900
commite996bc339b0f39f6c0b29b1455ba7eb318b023d3 (patch)
treec365ee625ae1dc3b9c1947c8a5e727d63bce251a /lib_mips
parent1f1554841a4c8e069d331176f0c3059fb2bb8280 (diff)
downloadu-boot-imx-e996bc339b0f39f6c0b29b1455ba7eb318b023d3.zip
u-boot-imx-e996bc339b0f39f6c0b29b1455ba7eb318b023d3.tar.gz
u-boot-imx-e996bc339b0f39f6c0b29b1455ba7eb318b023d3.tar.bz2
[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 <mcmullan@netapp.com> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'lib_mips')
-rw-r--r--lib_mips/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib_mips/board.c b/lib_mips/board.c
index 1645f2c..43cfc17 100644
--- a/lib_mips/board.c
+++ b/lib_mips/board.c
@@ -28,6 +28,7 @@
#include <version.h>
#include <net.h>
#include <environment.h>
+#include <nand.h>
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 ();