Home
last modified time | relevance | path

Searched hist:e5720823f6f81a0f3a9e3404dbc37059bf6644f1 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dcfi_flash.ce5720823f6f81a0f3a9e3404dbc37059bf6644f1 Fri Mar 26 00:17:00 UTC 2010 Thomas Chou <thomas@wytron.com.tw> 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>