mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
drivers/mtd: Add gd25 driver
This commit is contained in:
committed by
Gregory Nutt
parent
5a51702ef2
commit
25f2bcea38
@@ -984,3 +984,28 @@ config W25_SLOWREAD
|
||||
default n
|
||||
|
||||
endif # MTD_W25
|
||||
|
||||
config MTD_GD25
|
||||
bool "SPI-based GD25 FLASH"
|
||||
default n
|
||||
select SPI
|
||||
|
||||
if MTD_GD25
|
||||
|
||||
config GD25_SPIMODE
|
||||
int "GD25 SPI Mode"
|
||||
default 0
|
||||
|
||||
config GD25_SPIFREQUENCY
|
||||
int "GD25 SPI Frequency"
|
||||
default 20000000
|
||||
|
||||
config GD25_READONLY
|
||||
bool "GD25 Read-Only FLASH"
|
||||
default n
|
||||
|
||||
config GD25_SLOWREAD
|
||||
bool
|
||||
default n
|
||||
|
||||
endif # MTD_GD25
|
||||
|
||||
Reference in New Issue
Block a user