]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/spi_flash.h
sf: Add flag status register polling support
[karo-tx-uboot.git] / include / spi_flash.h
index e22d698af425bd0ef6e06a73faee4a94bb2deecd..e80785f55ef578ac989ceef262391bb602abdcec 100644 (file)
@@ -46,6 +46,9 @@ struct spi_flash {
        /* Current flash bank */
        u8              bank_curr;
 #endif
+       /* Poll cmd - for flash erase/program */
+       u8              poll_cmd;
+
        void *memory_map;       /* Address of read-only SPI flash access */
        int             (*read)(struct spi_flash *flash, u32 offset,
                                size_t len, void *buf);