From 4c0d4c3b782ef278f5843eb2533e03b9c4c16e21 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 9 Jun 2004 17:34:58 +0000 Subject: * Patch by Tom Armistead, 04 Jun 2004: Add support for MAX6900 RTC * Patches by Ladislav Michl, 03 Jun 2004: - fix cfi_flash.c on LE systems - let 'make mrproper' delete u-boot.img as well - turn printf into debug in cfi_flash.c --- drivers/cfi_flash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/cfi_flash.c') diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index cba91f3..b79cf59 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -46,6 +46,7 @@ #include #include +#include #include #ifdef CFG_FLASH_CFI_DRIVER @@ -1038,7 +1039,7 @@ static ulong flash_get_size (ulong base, int banknum) (tmp & 0xffff) ? ((tmp & 0xffff) * 256) : 128; tmp >>= 16; erase_region_count = (tmp & 0xffff) + 1; - printf ("erase_region_count = %d erase_region_size = %d\n", + debug ("erase_region_count = %d erase_region_size = %d\n", erase_region_count, erase_region_size); for (j = 0; j < erase_region_count; j++) { info->start[sect_cnt] = sector; -- cgit v1.1