Searched hist:fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_flash.c | fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8 Mon Jun 16 08:40:02 UTC 2008 Stefan Roese <sr@denx.de> cfi-flash: Fix problem in flash_toggle(), busy was not detected reliably
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>
|