diff options
author | wdenk <wdenk> | 2004-06-09 17:34:58 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-06-09 17:34:58 +0000 |
commit | 4c0d4c3b782ef278f5843eb2533e03b9c4c16e21 (patch) | |
tree | 09dcb91dbd32932f125901c1a4c210e4f2fdc88f /drivers | |
parent | ca0e774894ceceeffe5134f69c0f4e1f789407a2 (diff) | |
download | u-boot-4c0d4c3b782ef278f5843eb2533e03b9c4c16e21.tar.gz u-boot-4c0d4c3b782ef278f5843eb2533e03b9c4c16e21.tar.xz u-boot-4c0d4c3b782ef278f5843eb2533e03b9c4c16e21.zip |
* 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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfi_flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index cba91f31a6..b79cf59344 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 @@ 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; |