diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-03-26 08:17:00 +0800 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-03-26 11:35:50 +0100 |
commit | e5720823f6f81a0f3a9e3404dbc37059bf6644f1 (patch) | |
tree | 3b8d90b5de254e60239aeea1550f3aed02d45636 /lib_nios2 | |
parent | 859500a2be94bfa77a845b9c8a4c499587035fd5 (diff) | |
download | u-boot-imx-e5720823f6f81a0f3a9e3404dbc37059bf6644f1.zip u-boot-imx-e5720823f6f81a0f3a9e3404dbc37059bf6644f1.tar.gz u-boot-imx-e5720823f6f81a0f3a9e3404dbc37059bf6644f1.tar.bz2 |
cfi flash: add status polling method for amd flash
This patch adds status polling method to offer an alternative to
data toggle method for amd flash chips.
This patch is needed for nios2 cfi flash interface, where the bus
controller performs 4 bytes read cycles for a single byte read
instruction. The data toggle method can not detect chip busy
status correctly. So we have to poll DQ7, which will be inverted
when the chip is busy.
This feature is enabled with the config def,
CONFIG_SYS_CFI_FLASH_STATUS_POLL
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib_nios2')
0 files changed, 0 insertions, 0 deletions