* Patch by Nicolas Lacressonniere, 11 Jun 2003:
[pandora-u-boot.git] / lib_arm / board.c
index af6af14..37d4d9f 100644 (file)
@@ -37,6 +37,11 @@ void nand_init (void);
 
 ulong monitor_flash_len;
 
+#ifdef CONFIG_HAS_DATAFLASH
+extern int  AT91F_DataflashInit(void);
+extern void dataflash_print_info(void);
+#endif
+
 const char version_string[] =
        U_BOOT_VERSION" (" __DATE__ " - " __TIME__ ")";
 
@@ -242,6 +247,11 @@ void start_armboot (void)
        nand_init();            /* go init the NAND */
 #endif
 
+#ifdef CONFIG_HAS_DATAFLASH
+       AT91F_DataflashInit();
+       dataflash_print_info();
+#endif
+
        /* initialize environment */
        env_relocate ();