* 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
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 <common.h>
#include <asm/processor.h>
+#include <asm/byteorder.h>
#include <linux/byteorder/swab.h>
#ifdef CFG_FLASH_CFI_DRIVER
@@ -1038,7 +1039,7 @@
(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;