diff options
author | Wolfgang Denk <wd@nyx.denx.de> | 2006-03-02 11:03:05 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@nyx.denx.de> | 2006-03-02 11:03:05 +0100 |
commit | 4f718664701369d1c23d39c1916967d2895d25db (patch) | |
tree | 0adf45eee3ab2c827ce2f9bf757f43b7195f6234 /lib_arm | |
parent | 82f2e33a8dc8ec6e3d33d41028f6e57bde015e95 (diff) | |
download | u-boot-imx-4f718664701369d1c23d39c1916967d2895d25db.zip u-boot-imx-4f718664701369d1c23d39c1916967d2895d25db.tar.gz u-boot-imx-4f718664701369d1c23d39c1916967d2895d25db.tar.bz2 |
Make CFG_NO_FLASH work on ARM systems
Patch by Markus Klotzbuecher, 27 Feb 2006
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 3048cbe..f7ee9ee 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -178,11 +178,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 */ /* @@ -260,9 +262,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 |