]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/spi/spi_flash_internal.h
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[u-boot] / drivers / mtd / spi / spi_flash_internal.h
index 3c6bccf0c88585468bb6fcfd792c805e52b592d6..141cfa8b26d75e6e816c7315530854a93035b803 100644 (file)
@@ -74,6 +74,9 @@ static inline int spi_flash_cmd_write_disable(struct spi_flash *flash)
        return spi_flash_cmd(flash->spi, CMD_WRITE_DISABLE, NULL, 0);
 }
 
+/* Program the status register. */
+int spi_flash_cmd_write_status(struct spi_flash *flash, u8 sr);
+
 /*
  * Same as spi_flash_cmd_read() except it also claims/releases the SPI
  * bus. Used as common part of the ->read() operation.