summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-10-02 19:37:43 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-10-07 17:55:45 +0530
commit0f6232801cee4f45dbdb0cec45f71172c9b617ca (patch)
tree075f1204f284977aebdfbbc46e0c973c8ec48768 /include/spi_flash.h
parentf4f51a8ff894d34eb332f0d11f6c73c7bf509848 (diff)
sf: probe: Add support for flag status polling
From Micron, 512MB onwards, flash requires to poll flag status instead of read status- hence added E_FSR flag on spectific flash parts. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 0d40e6c975..09af55dee5 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -20,6 +20,7 @@
/* SECT flags */
#define SECT_4K (1 << 1)
#define SECT_32K (1 << 2)
+#define E_FSR (1 << 3)
/* SST specific macros */
#ifdef CONFIG_SPI_FLASH_SST