diff options
author | Stefan Roese <sr@denx.de> | 2008-06-16 10:40:02 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-06-19 15:08:17 +0200 |
commit | fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8 (patch) | |
tree | 774181d048622d693b0ec16ead3293ecd602eb0b /board/cobra5272 | |
parent | a94f22f08f280905926219e568568964cb9eeb9d (diff) | |
download | u-boot-imx-fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8.zip u-boot-imx-fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8.tar.gz u-boot-imx-fb8c061ea05fc68d37e2a8b9f8c949d76c8d71a8.tar.bz2 |
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>
Diffstat (limited to 'board/cobra5272')
0 files changed, 0 insertions, 0 deletions