u-boot/drivers/mtd
Jens Scharsig (BuS Elektronik) a9f5faba6e * Fix: watchdog timed out, if flash blank (0xFF) blocks
The current implementation of cfi_flash uses udelay to reset watchdog.
If several blocks are blank (0xff filled) the watchdog timed out.
The reason is, udelay is never called, if flash device is ready to fast.

e.g.
     mw.w $(copy_addr) FFFF 10000;cp.b $(copy_addr) 10880000 20000

     -> watchdog timed out

     mw.w $(copy_addr) 0000 10000;cp.b $(copy_addr) 10880000 20000

     -> watchdog not timed out

This patch adds an extra watchdog reset in front of flash ready check.

Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Signed-off-by: Stefan Roese <sr@denx.de>
2012-02-09 09:45:40 +01:00
..
nand drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning 2011-12-07 16:02:07 -06:00
onenand Merge branch 'hs@denx.de' of git://git.denx.de/u-boot-staging 2011-11-23 21:23:45 +01:00
spi sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
ubi UBI: init eba tables before wl when attaching a device 2011-10-12 11:36:05 +02:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c * Fix: watchdog timed out, if flash blank (0xFF) blocks 2012-02-09 09:45:40 +01:00
cfi_mtd.c CFI: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
dataflash.c drivers/mtd/dataflash.c: Fix GCC 4.6 warning 2011-11-16 21:28:47 +01:00
ftsmc020.c ftsmc020: fix relocation 2011-05-12 23:43:27 +02:00
jedec_flash.c GCC4.6: Squash warning in jedec_flash.c 2011-10-27 23:54:04 +02:00
Makefile ftsmc020: move ftsmc020 static mem controller to driver/mtd 2011-04-27 19:38:10 +02:00
mtdconcat.c mtd: Add MTD concat support to concatenate multiple MTD NOR devices 2009-06-12 20:45:47 +02:00
mtdcore.c Followup fixes on the mtdparts spread patchset 2010-10-11 15:11:01 -05:00
mtdpart.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05: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