summaryrefslogtreecommitdiff
path: root/lib_arm/board.c
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2007-09-10 17:15:14 +0900
committerStefan Roese <sr@denx.de>2007-09-17 08:19:08 +0200
commitd7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1 (patch)
tree96b870839f8381a5e5a56600e663a8a2c37fdad3 /lib_arm/board.c
parent17aa2800457df0c06b41516f46f126712c196219 (diff)
downloadu-boot-imx-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.zip
u-boot-imx-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.tar.gz
u-boot-imx-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.tar.bz2
OneNAND support (take #2)
[PATCH 3/3] OneNAND support (take #2) OneNAND support at U-Boot Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
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 d28afc5..634e4d9 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
@@ -301,6 +305,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();