]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib_arm/board.c
* Patch by Rick Bronson, 16 Mar 2003:
[people/ms/u-boot.git] / lib_arm / board.c
index 244c0b5b6c4d437263845d254a6fa839327c6d79..828c2f2054f68859c36df99299c243894466a3c0 100644 (file)
@@ -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 ();