From: Wolfgang Denk Date: Thu, 2 Mar 2006 10:03:05 +0000 (+0100) Subject: Make CFG_NO_FLASH work on ARM systems X-Git-Tag: v2008.10-rc1~1269^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f718664701369d1c23d39c1916967d2895d25db;p=platform%2Fkernel%2Fu-boot.git Make CFG_NO_FLASH work on ARM systems Patch by Markus Klotzbuecher, 27 Feb 2006 --- diff --git a/CHANGELOG b/CHANGELOG index 0c4407c..2e0a957 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Make CFG_NO_FLASH work on ARM systems + Patch by Markus Klotzbuecher, 27 Feb 2006 + * Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock, use hush shell. 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