diff options
author | Markus Klotzbücher <Markus Klotzbümk@pollux.(none)> | 2006-02-28 18:05:25 +0100 |
---|---|---|
committer | Markus Klotzbücher <mk@pollux.(none)> | 2006-02-28 18:05:25 +0100 |
commit | 6949328d7df7a98b88a8edc0f7238687a3083a22 (patch) | |
tree | a6909a0121f01c6f76df82a257682b29a750516f /lib_arm | |
parent | 0377dca227cc883bbaacbe1c442cef5bd6b0e121 (diff) | |
download | u-boot-imx-6949328d7df7a98b88a8edc0f7238687a3083a22.zip u-boot-imx-6949328d7df7a98b88a8edc0f7238687a3083a22.tar.gz u-boot-imx-6949328d7df7a98b88a8edc0f7238687a3083a22.tar.bz2 |
First steps implementing NAND support. Not working, fails to read ID.
Diffstat (limited to 'lib_arm')
-rw-r--r-- | lib_arm/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index a420de1..0f3a999 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -179,11 +179,13 @@ static int display_dram_config (void) return (0); } +#ifndef CFG_NO_FLASH static void display_flash_config (ulong size) { puts ("Flash: "); print_size (size, "\n"); } +#endif /* CFG_NO_FLASH */ /* @@ -259,9 +261,11 @@ void start_armboot (void) } } +#ifndef CFG_NO_FLASH /* configure available FLASH banks */ size = flash_init (); display_flash_config (size); +#endif /* CFG_NO_FLASH */ #ifdef CONFIG_VFD # ifndef PAGE_SIZE |