summaryrefslogtreecommitdiff
path: root/lib_arm/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r--lib_arm/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 244c0b5b6c..828c2f2054 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -31,6 +31,9 @@
#include <version.h>
#include <net.h>
+#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+void nand_init (void);
+#endif
const char version_string[] =
U_BOOT_VERSION" (" __DATE__ " - " __TIME__ ")";
@@ -227,6 +230,10 @@ void start_armboot (void)
mem_malloc_init (_armboot_real_end);
#endif /* CONFIG_VFD */
+#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+ nand_init(); /* go init the NAND */
+#endif
+
/* initialize environment */
env_relocate ();