Add configuration options for forthcoming st25fl1 devices

This commit is contained in:
Gregory Nutt
2015-08-24 08:00:39 -06:00
parent 47bab42498
commit 3743d3d84a
2 changed files with 22 additions and 1 deletions
+21
View File
@@ -387,6 +387,27 @@ config M25P_SUBSECTOR_ERASE
endif
config MTD_ST25FL1
bool "QuadSPI-based ST25FL1 FLASH"
default n
select SPI
if MTD_ST25FL1
config ST25FL1_SPIMODE
int "ST25FL1 SPI Mode"
default 0
config ST25FL1_SPIFREQUENCY
int "ST25FL1 SPI Frequency"
default 20000000
config ST25FL1_SECTOR512
bool "Simulate 512 byte Erase Blocks"
default n
endif
config MTD_SMART
bool "Sector Mapped Allocation for Really Tiny (SMART) Flash support"
default n