u-boot-brain/drivers/mtd
Stefan Roese 70084df712 cfi_flash: Cleanup flash_print_info()
This patch does the following:

- Extract code to detect if sector is erased into function
  sector_erased().
- Because of this, we don't have variable declarations inside the
  sector loop in flash_print_info()
- Change "return" to "break" in the "if (ctrlc()) statement:
  This fixes a problem with the resulting output. Before this
  patch the output was:

  Sector Start Addresses:
  FC000000        FC020000        FC040000   =>

  With this patch it is now:

  Sector Start Addresses:
  FC000000        FC020000        FC040000
  =>

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>
2010-08-18 09:09:00 +02:00
..
nand 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
onenand Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
spi sf: move useful messages from debug to printf 2010-06-30 23:47:08 -04:00
ubi UBI: initialise update marker 2010-06-23 00:00:05 +02:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c cfi_flash: Cleanup flash_print_info() 2010-08-18 09:09:00 +02:00
cfi_mtd.c CFI: fix eraseregions numblocks 2010-02-02 08:22:00 +01:00
dataflash.c mtd/dataflash.c: fix a problem with the last partition 2008-12-02 21:53:24 +01:00
jedec_flash.c Support up to 7 banks for ids as specified in JEDEC JEP106Z 2009-08-26 08:58:27 +02:00
Makefile mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00
mtdconcat.c mtd: Add MTD concat support to concatenate multiple MTD NOR devices 2009-06-12 20:45:47 +02:00
mtdcore.c mtd: Remove a printf() from add_mtd_device(). 2008-11-24 11:29:53 +01:00
mtdpart.c mtd: Update MTD infrastructure to support 64bit device size 2009-06-12 20:45:47 +02:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
spr_smi.c mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00