mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 02:20:25 +00:00
fb8c061ea0
This patch simplifies flash_toggle() (AMD commandset), which is used to detect if a FLASH device is still busy with erase/program operations. On 800MHz Canyonlands/Glacier boards (460EX/GT) the current implementation did not detect the busy state reliably, resulting in non erased sectors etc. This patch now simplifies this function by "just" comparing the complete data-word instead of ANDing it with the command-word (0x40) before the compatison. It is done the same way in the Linux implementation chip_ready() in cfi_cmdset_0002.c. Signed-off-by: Stefan Roese <sr@denx.de> |
||
---|---|---|
.. | ||
nand | ||
nand_legacy | ||
onenand | ||
spi | ||
at45.c | ||
cfi_flash.c | ||
dataflash.c | ||
jedec_flash.c | ||
Makefile | ||
mw_eeprom.c |