uboot-mt623x/drivers/mtd
Dirk Behme 9723bbb46a nand: Correct NAND erase percentage output
For NAND erase sizes smaller than one NAND erase block, erase
percentage output becomes grater than 100% e.g.

-- cut --
  > nand info
Device 0: NAND 64MiB 1,8V 8-bit, sector size 16 KiB
  > nand erase 0x100000 0x2000
NAND erase: device 0 offset 0x100000, size 0x2000
Erasing at 0x100000 -- 200% complete.
OK
  >
-- cut --

Correct this and give user a warning that more is erased than specified:

-- cut --
  > nand erase 0x100000 0x2000
NAND erase: device 0 offset 0x100000, size 0x2000
Warning: Erase size 0x00002000 smaller than one erase block 0x00004000
           Erasing 0x00004000 instead
Erasing at 0x100000 -- 100% complete.
OK
  >
-- cut --

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
2008-05-28 11:06:27 -05:00
..
nand nand: Correct NAND erase percentage output 2008-05-28 11:06:27 -05:00
nand_legacy Big white-space cleanup. 2008-05-21 00:14:08 +02:00
onenand onenand: rename 16 bit memory copy into memcpy_16() to avoid conflicts 2008-05-01 21:30:16 +02:00
Makefile dataflash: Move CONFIG_HAS_DATAFLASH to Makefile 2008-04-01 07:30:51 +02:00
at45.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
cfi_flash.c cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST 2008-04-25 15:52:14 +02:00
dataflash.c Clean up dataflash partitioning 2008-04-18 00:24:05 -07:00
jedec_flash.c MTD/CFI: Add support for 16bit legacy AMD flash 2008-03-28 11:44:23 +01:00
mw_eeprom.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00