summaryrefslogtreecommitdiff
path: root/lib_arm/board.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-10-13 21:40:23 +0200
committerWolfgang Denk <wd@denx.de>2007-10-13 21:40:23 +0200
commit23c56f97caa3b585ab1290f0e7895f0f9e82113f (patch)
treeb1c5f110fd310f8c69ebdac4cb1272c7c0b29630 /lib_arm/board.c
parentde74b9eeacccaf0a42e5ecc9ae79a88f7a311296 (diff)
parent30363e98fa470fbecea5e8bc0f1443352754f303 (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flash
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r--lib_arm/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index af0233a6201..7e97f13476d 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -58,6 +58,10 @@ DECLARE_GLOBAL_DATA_PTR;
void nand_init (void);
#endif
+#if defined(CONFIG_CMD_ONENAND)
+void onenand_init(void);
+#endif
+
ulong monitor_flash_len;
#ifdef CONFIG_HAS_DATAFLASH
@@ -320,6 +324,10 @@ void start_armboot (void)
nand_init(); /* go init the NAND */
#endif
+#if defined(CONFIG_CMD_ONENAND)
+ onenand_init();
+#endif
+
#ifdef CONFIG_HAS_DATAFLASH
AT91F_DataflashInit();
dataflash_print_info();