summaryrefslogtreecommitdiff
path: root/drivers/cfi_flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-11-22 13:20:42 +0100
committerStefan Roese <sr@denx.de>2005-11-22 13:20:42 +0100
commit5568e613ee38d4bb5dd601cdb2f74ed0d7de9902 (patch)
treec89680cfc4931d8e0e3173c27959d678c3cbb44e /drivers/cfi_flash.c
parentfe126d8b34d2e7c3c2dc1d4e61086018e016768c (diff)
downloadu-boot-imx-5568e613ee38d4bb5dd601cdb2f74ed0d7de9902.zip
u-boot-imx-5568e613ee38d4bb5dd601cdb2f74ed0d7de9902.tar.gz
u-boot-imx-5568e613ee38d4bb5dd601cdb2f74ed0d7de9902.tar.bz2
Add support for Prodrive P3P440 board:
- Added onboard PPC440 DDR autodetection in cpu/ppc/sdram.c - CFG_FLASH_QUIET_TEST added to use the common CFI driver for bank autodetection Patch by Stefan Roese, 22 Nov 2005
Diffstat (limited to 'drivers/cfi_flash.c')
-rw-r--r--drivers/cfi_flash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index 113ce11..4b7a110 100644
--- a/drivers/cfi_flash.c
+++ b/drivers/cfi_flash.c
@@ -340,8 +340,10 @@ unsigned long flash_init (void)
flash_info[i].flash_id = FLASH_UNKNOWN;
size += flash_info[i].size = flash_get_size (bank_base[i], i);
if (flash_info[i].flash_id == FLASH_UNKNOWN) {
+#ifndef CFG_FLASH_QUIET_TEST
printf ("## Unknown FLASH on Bank %d - Size = 0x%08lx = %ld MB\n",
i, flash_info[i].size, flash_info[i].size << 20);
+#endif /* CFG_FLASH_QUIET_TEST */
}
}