diff options
Diffstat (limited to 'include/spi_flash_reg.h')
-rw-r--r-- | include/spi_flash_reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/spi_flash_reg.h b/include/spi_flash_reg.h index e42d9baa99..2d564e6b50 100644 --- a/include/spi_flash_reg.h +++ b/include/spi_flash_reg.h @@ -38,6 +38,11 @@ #define CONFIG_SPI_FLASH_HAS_SR2 #endif +/* W25Q128 16 Mbyte SPI flash for testing */ +#ifdef CONFIG_SPI_FLASH_W25Q128 +#define CONFIG_SPI_FLASH_HAS_SR2 +#endif + /** * Computes block write protection range from registers * Returns start == len == 0 for no protection |