summaryrefslogtreecommitdiffstats
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-09-29 16:54:31 +0530
committerJagan Teki <jteki@openedev.com>2015-10-25 20:17:03 +0530
commitbaaaa7539c7511e7e90453ecf0f20d8eaeeb70c6 (patch)
tree7ded5d9a9e41d6d3b62d0d7837021981d497319c /include/spi_flash.h
parent4efad20a175119f1a82b58d3197df4c20ae85934 (diff)
downloadblackbird-obmc-uboot-baaaa7539c7511e7e90453ecf0f20d8eaeeb70c6.tar.gz
blackbird-obmc-uboot-baaaa7539c7511e7e90453ecf0f20d8eaeeb70c6.zip
sf: Add FSR support to spi_flash_cmd_wait_ready
This patch adds flag status register reading support to spi_flash_cmd_wait_ready. Cc: Simon Glass <sjg@chromium.org> Cc: Marek Vasut <marex@denx.de> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Cc: Stefan Roese <sr@denx.de> Cc: Tom Warren <twarren@nvidia.com> Cc: Tom Rini <trini@konsulko.com> Cc: Hou Zhiqiang <B48286@freescale.com> Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 8d85468705..4312d3d691 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -49,7 +49,6 @@ struct spi_slave;
* @bank_read_cmd: Bank read cmd
* @bank_write_cmd: Bank write cmd
* @bank_curr: Current flash bank
- * @poll_cmd: Poll cmd - for flash erase/program
* @erase_cmd: Erase cmd 4K, 32K, 64K
* @read_cmd: Read cmd - Array Fast, Extn read and quad read.
* @write_cmd: Write cmd - page and quad program.
@@ -82,7 +81,6 @@ struct spi_flash {
u8 bank_write_cmd;
u8 bank_curr;
#endif
- u8 poll_cmd;
u8 erase_cmd;
u8 read_cmd;
u8 write_cmd;
OpenPOWER on IntegriCloud