diff options
author | Kyungmin Park <kmpark@infradead.org> | 2007-09-10 17:15:14 +0900 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-09-17 08:19:08 +0200 |
commit | d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1 (patch) | |
tree | 96b870839f8381a5e5a56600e663a8a2c37fdad3 /lib_arm/board.c | |
parent | 17aa2800457df0c06b41516f46f126712c196219 (diff) | |
download | u-boot-midas-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.tar.gz u-boot-midas-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.tar.bz2 u-boot-midas-d7e8ce101a4a45ed6ed45739fc2de5f87b13f7f1.zip |
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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index d28afc52f9..634e4d9438 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(); |