File tree 5 files changed +2136
-7
lines changed
5 files changed +2136
-7
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,38 @@ config MX25RXX_LXX
923
923
924
924
endif # MTD_MX25RXX
925
925
926
+ config MTD_GD55
927
+ bool "QuadSPI-based GigaDevices GD55 family FLASH"
928
+ default n
929
+ ---help---
930
+ Support GD55 QSPI devices
931
+
932
+ if MTD_GD55
933
+
934
+ config MTD_GD55_QSPIMODE
935
+ int "MTD_GD55 QuadSPI Mode"
936
+ default 3
937
+ ---help---
938
+ This device can operate in SPI mode 0 or 3.
939
+
940
+ config MTD_GD55_FREQUENCY
941
+ int "MTD_GD55 QSPI Frequency"
942
+ default 133000000
943
+ ---help---
944
+ Clock frequency for all instructions except for non-QSPI read
945
+ commands (e.g. Read ID) and DTR read, neither of which are used in
946
+ this driver)
947
+
948
+ config MTD_GD55_SECTOR512
949
+ bool "Emulate 512 byte Erase Blocks"
950
+ default n
951
+ ---help---
952
+ This is used to map the native 256 byte sectors to 512 byte sectors.
953
+ It is useful if using a file system that demands 512 byte sectors,
954
+ such as FAT
955
+
956
+ endif # MTD_GD55
957
+
926
958
config MTD_SMART
927
959
bool "Sector Mapped Allocation for Really Tiny (SMART) Flash support"
928
960
default n
Original file line number Diff line number Diff line change @@ -133,6 +133,10 @@ ifeq ($(CONFIG_MTD_GD25),y)
133
133
CSRCS += gd25.c
134
134
endif
135
135
136
+ ifeq ($(CONFIG_MTD_GD55),y)
137
+ CSRCS += gd55.c
138
+ endif
139
+
136
140
ifeq ($(CONFIG_MTD_GD5F),y)
137
141
CSRCS += gd5f.c
138
142
endif
You can’t perform that action at this time.
0 commit comments