]> git.sur5r.net Git - u-boot/commit
sf: Enable FSR polling on N25Q256(A)
authorMarek Vasut <marex@denx.de>
Thu, 24 May 2018 19:58:45 +0000 (21:58 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 28 Jun 2018 14:28:40 +0000 (19:58 +0530)
commit069b746ad9e66ab75973020f992e059c06cf3a7c
treeccb99901b454aad9a7f99761ebc921b2dcbb9156
parentc0eaffa03959a97e6c139ea023e4041170e105e6
sf: Enable FSR polling on N25Q256(A)

The N25Q256(A) datasheet clearly states that this device does have
a Flag Status Register and does update FSR PEC bit 7 during Program
and Erase cycles to indicate the cycle is in progress. Enable the
FSR PEC bit polling on this device to prevent data corruption.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@openedev.com>
Cc: Tom Rini <trini@konsulko.com>
drivers/mtd/spi/spi_flash_ids.c