]> git.sur5r.net Git - u-boot/blobdiff - lib_arm/board.c
Remove prototypes of nand_init() in favor of including nand.h.
[u-boot] / lib_arm / board.c
index 67506b35e1ec6fbac0d00ee000341dc97c345414..5e0455391170942d8fd937b581787560e3fdbcb8 100644 (file)
@@ -45,6 +45,8 @@
 #include <version.h>
 #include <net.h>
 #include <serial.h>
+#include <nand.h>
+#include <onenand_uboot.h>
 
 #ifdef CONFIG_DRIVER_SMC91111
 #include "../drivers/net/smc91111.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if defined(CONFIG_CMD_NAND)
-void nand_init (void);
-#endif
-
-#if defined(CONFIG_CMD_ONENAND)
-void onenand_init(void);
-#endif
-
 ulong monitor_flash_len;
 
 #ifdef CONFIG_HAS_DATAFLASH