mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
drivers/mtd/gd5f.c: Add gigadevice SPI NAND FLASH driver.
This commit is contained in:
@@ -1026,3 +1026,20 @@ config GD25_SLOWREAD
|
||||
default n
|
||||
|
||||
endif # MTD_GD25
|
||||
|
||||
config MTD_GD5F
|
||||
bool "SPI-based GD5F nand FLASH"
|
||||
default n
|
||||
select SPI
|
||||
|
||||
if MTD_GD5F
|
||||
|
||||
config GD5F_SPIMODE
|
||||
int "GD5F SPI Mode"
|
||||
default 0
|
||||
|
||||
config GD5F_SPIFREQUENCY
|
||||
int "GD5F SPI Frequency"
|
||||
default 20000000
|
||||
|
||||
endif # MTD_GD5F
|
||||
|
||||
Reference in New Issue
Block a user