diff options
author | Scott Wood <scottwood@freescale.com> | 2008-05-22 10:49:46 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-05-28 11:06:29 -0500 |
commit | d6ac2ed893c2168738aee01579d6283af8d37045 (patch) | |
tree | 759dfa09b15263a126f61171daa762e345f8f012 /lib_arm/board.c | |
parent | 229c56f07a82eacda8c8720cb146fc9be0f6db54 (diff) | |
download | u-boot-imx-d6ac2ed893c2168738aee01579d6283af8d37045.zip u-boot-imx-d6ac2ed893c2168738aee01579d6283af8d37045.tar.gz u-boot-imx-d6ac2ed893c2168738aee01579d6283af8d37045.tar.bz2 |
Remove prototypes of nand_init() in favor of including nand.h.
Likewise with onenand_init().
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r-- | lib_arm/board.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 67506b3..5e04553 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -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" @@ -55,14 +57,6 @@ 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 |