summaryrefslogtreecommitdiff
path: root/drivers
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
parentfe126d8b34d2e7c3c2dc1d4e61086018e016768c (diff)
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')
-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 113ce11492..4b7a1107a9 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 */
}
}