MTD: SPI-based driver for Macronix MX25L3233F or MX25L6433F.

This commit is contained in:
Aleksandr Vyhovanec
2016-09-02 11:00:04 -06:00
committed by Gregory Nutt
parent 3f40541b21
commit b0f973d901
4 changed files with 1109 additions and 4 deletions
+35 -1
View File
@@ -456,6 +456,41 @@ config M25P_SUBSECTOR_ERASE
endif # MTD_M25P
config MTD_MX25L
bool "SPI-based MX25L3233F / MX25L6433F"
default n
select SPI
---help---
SPI-based driver for Macronix MX25L3233F or MX25L6433F.
if MTD_MX25L
config MX25L_SPIMODE
int "MX25L SPI mode"
default 0
config MX25L_SPIFREQUENCY
int "MX25L SPI Frequency"
default 20000000
config MX25L_SECTOR512
bool "Simulate 512 byte Erase Blocks"
default n
config MX25L_SUBSECTOR_ERASE
bool "Sub-Sector Erase"
default n
---help---
Some devices (such as the EON EN25F80) support a smaller erase block
size (4K vs 64K). This option enables support for sub-sector erase.
The SMART file system can take advantage of this option if it is enabled.
config MX25L_DEBUG
bool "Enable driver debug features"
default n
endif # MTD_MX25L
config MTD_S25FL1
bool "QuadSPI-based S25FL1 FLASH"
default n
@@ -514,7 +549,6 @@ config MTD_N25QXXX
---help---
Support the N25Q016A, N25Q032A, N25Q064A, N25Q128A, N25Q256A
if MTD_N25QXXX
config N25QXXX_QSPIMODE