@@ -70,7 +70,7 @@ typedef struct {
70
70
// Xplained board.
71
71
// Datasheet: https://www.adestotech.com/wp-content/uploads/doc8715.pdf
72
72
#define AT25DF081A { \
73
- .total_size = (1 << 20), /* 1 MiB */ \
73
+ .total_size = (1 << 20), /* 1 MiB */ \
74
74
.start_up_time_us = 10000, \
75
75
.manufacturer_id = 0x1f, \
76
76
.memory_type = 0x45, \
@@ -88,12 +88,12 @@ typedef struct {
88
88
// Settings for the Gigadevice GD25Q16C 2MiB SPI flash.
89
89
// Datasheet: http://www.gigadevice.com/datasheet/gd25q16c/
90
90
#define GD25Q16C { \
91
- .total_size = (1 << 21), /* 2 MiB */ \
91
+ .total_size = (1 << 21), /* 2 MiB */ \
92
92
.start_up_time_us = 5000, \
93
93
.manufacturer_id = 0xc8, \
94
94
.memory_type = 0x40, \
95
95
.capacity = 0x15, \
96
- .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
96
+ .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
97
97
.quad_enable_bit_mask = 0x02, \
98
98
.has_sector_protection = false, \
99
99
.supports_fast_read = true, \
@@ -106,12 +106,12 @@ typedef struct {
106
106
// Settings for the Gigadevice GD25Q64C 8MiB SPI flash.
107
107
// Datasheet: http://www.elm-tech.com/en/products/spi-flash-memory/gd25q64/gd25q64.pdf
108
108
#define GD25Q64C { \
109
- .total_size = (1 << 23), /* 8 MiB */ \
109
+ .total_size = (1 << 23), /* 8 MiB */ \
110
110
.start_up_time_us = 5000, \
111
111
.manufacturer_id = 0xc8, \
112
112
.memory_type = 0x40, \
113
113
.capacity = 0x17, \
114
- .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
114
+ .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
115
115
.quad_enable_bit_mask = 0x02, \
116
116
.has_sector_protection = false, \
117
117
.supports_fast_read = true, \
@@ -124,7 +124,7 @@ typedef struct {
124
124
// Settings for the Cypress (was Spansion) S25FL064L 8MiB SPI flash.
125
125
// Datasheet: http://www.cypress.com/file/316661/download
126
126
#define S25FL064L { \
127
- .total_size = (1 << 23), /* 8 MiB */ \
127
+ .total_size = (1 << 23), /* 8 MiB */ \
128
128
.start_up_time_us = 300, \
129
129
.manufacturer_id = 0x01, \
130
130
.memory_type = 0x60, \
@@ -142,7 +142,7 @@ typedef struct {
142
142
// Settings for the Cypress (was Spansion) S25FL116K 2MiB SPI flash.
143
143
// Datasheet: http://www.cypress.com/file/196886/download
144
144
#define S25FL116K { \
145
- .total_size = (1 << 21), /* 2 MiB */ \
145
+ .total_size = (1 << 21), /* 2 MiB */ \
146
146
.start_up_time_us = 10000, \
147
147
.manufacturer_id = 0x01, \
148
148
.memory_type = 0x40, \
@@ -160,7 +160,7 @@ typedef struct {
160
160
// Settings for the Cypress (was Spansion) S25FL216K 2MiB SPI flash.
161
161
// Datasheet: http://www.cypress.com/file/197346/download
162
162
#define S25FL216K { \
163
- .total_size = (1 << 21), /* 2 MiB */ \
163
+ .total_size = (1 << 21), /* 2 MiB */ \
164
164
.start_up_time_us = 10000, \
165
165
.manufacturer_id = 0x01, \
166
166
.memory_type = 0x40, \
@@ -178,7 +178,7 @@ typedef struct {
178
178
// Settings for the Winbond W25Q16FW 2MiB SPI flash.
179
179
// Datasheet: https://www.winbond.com/resource-files/w25q16fw%20revj%2005182017%20sfdp.pdf
180
180
#define W25Q16FW { \
181
- .total_size = (1 << 21), /* 2 MiB */ \
181
+ .total_size = (1 << 21), /* 2 MiB */ \
182
182
.start_up_time_us = 5000, \
183
183
.manufacturer_id = 0xef, \
184
184
.memory_type = 0x60, \
@@ -196,7 +196,7 @@ typedef struct {
196
196
// Settings for the Winbond W25Q16JV-IQ 2MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
197
197
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
198
198
#define W25Q16JV_IQ { \
199
- .total_size = (1 << 21), /* 2 MiB */ \
199
+ .total_size = (1 << 21), /* 2 MiB */ \
200
200
.start_up_time_us = 5000, \
201
201
.manufacturer_id = 0xef, \
202
202
.memory_type = 0x40, \
@@ -214,7 +214,7 @@ typedef struct {
214
214
// Settings for the Winbond W25Q16JV-IM 2MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
215
215
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
216
216
#define W25Q16JV_IM { \
217
- .total_size = (1 << 21), /* 2 MiB */ \
217
+ .total_size = (1 << 21), /* 2 MiB */ \
218
218
.start_up_time_us = 5000, \
219
219
.manufacturer_id = 0xef, \
220
220
.memory_type = 0x70, \
@@ -231,7 +231,7 @@ typedef struct {
231
231
// Settings for the Winbond W25Q32BV 4MiB SPI flash.
232
232
// Datasheet: https://www.winbond.com/resource-files/w25q32bv_revi_100413_wo_automotive.pdf
233
233
#define W25Q32BV { \
234
- .total_size = (1 << 22), /* 4 MiB */ \
234
+ .total_size = (1 << 22), /* 4 MiB */ \
235
235
.start_up_time_us = 10000, \
236
236
.manufacturer_id = 0xef, \
237
237
.memory_type = 0x60, \
@@ -248,7 +248,7 @@ typedef struct {
248
248
// Settings for the Winbond W25Q32JV-IM 4MiB SPI flash.
249
249
// Datasheet: https://www.winbond.com/resource-files/w25q32jv%20revg%2003272018%20plus.pdf
250
250
#define W25Q32JV_IM { \
251
- .total_size = (1 << 22), /* 4 MiB */ \
251
+ .total_size = (1 << 22), /* 4 MiB */ \
252
252
.start_up_time_us = 5000, \
253
253
.manufacturer_id = 0xef, \
254
254
.memory_type = 0x70, \
@@ -265,7 +265,7 @@ typedef struct {
265
265
// Settings for the Winbond W25Q32JV-IM 4MiB SPI flash.
266
266
// Datasheet: https://www.winbond.com/resource-files/w25q32jv%20revg%2003272018%20plus.pdf
267
267
#define W25Q32JV_IQ { \
268
- .total_size = (1 << 22), /* 4 MiB */ \
268
+ .total_size = (1 << 22), /* 4 MiB */ \
269
269
.start_up_time_us = 5000, \
270
270
.manufacturer_id = 0xef, \
271
271
.memory_type = 0x40, \
@@ -282,7 +282,7 @@ typedef struct {
282
282
// Settings for the Winbond W25Q64JV-IM 8MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
283
283
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
284
284
#define W25Q64JV_IM { \
285
- .total_size = (1 << 23), /* 8 MiB */ \
285
+ .total_size = (1 << 23), /* 8 MiB */ \
286
286
.start_up_time_us = 5000, \
287
287
.manufacturer_id = 0xef, \
288
288
.memory_type = 0x70, \
@@ -300,7 +300,7 @@ typedef struct {
300
300
// Settings for the Winbond W25Q64JV-IQ 8MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
301
301
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
302
302
#define W25Q64JV_IQ { \
303
- .total_size = (1 << 23), /* 8 MiB */ \
303
+ .total_size = (1 << 23), /* 8 MiB */ \
304
304
.start_up_time_us = 5000, \
305
305
.manufacturer_id = 0xef, \
306
306
.memory_type = 0x40, \
@@ -318,7 +318,7 @@ typedef struct {
318
318
// Settings for the Winbond W25Q80DL 1MiB SPI flash.
319
319
// Datasheet: https://www.winbond.com/resource-files/w25q80dv%20dl_revh_10022015.pdf
320
320
#define W25Q80DL { \
321
- .total_size = (1 << 20), /* 1 MiB */ \
321
+ .total_size = (1 << 20), /* 1 MiB */ \
322
322
.start_up_time_us = 5000, \
323
323
.manufacturer_id = 0xef, \
324
324
.memory_type = 0x60, \
@@ -337,7 +337,7 @@ typedef struct {
337
337
// Settings for the Winbond W25Q128JV-SQ 16MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
338
338
// Datasheet: https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf
339
339
#define W25Q128JV_SQ { \
340
- .total_size = (1 << 24), /* 16 MiB */ \
340
+ .total_size = (1 << 24), /* 16 MiB */ \
341
341
.start_up_time_us = 5000, \
342
342
.manufacturer_id = 0xef, \
343
343
.memory_type = 0x40, \
@@ -355,7 +355,7 @@ typedef struct {
355
355
// Settings for the Macronix MX25L1606 2MiB SPI flash.
356
356
// Datasheet:
357
357
#define MX25L1606 { \
358
- .total_size = (1 << 21), /* 2 MiB */ \
358
+ .total_size = (1 << 21), /* 2 MiB */ \
359
359
.start_up_time_us = 5000, \
360
360
.manufacturer_id = 0xc2, \
361
361
.memory_type = 0x20, \
@@ -373,7 +373,7 @@ typedef struct {
373
373
// Settings for the Macronix MX25L3233F 4MiB SPI flash.
374
374
// Datasheet: http://www.macronix.com/Lists/Datasheet/Attachments/7426/MX25L3233F,%203V,%2032Mb,%20v1.6.pdf
375
375
#define MX25L3233F { \
376
- .total_size = (1 << 22), /* 4 MiB */ \
376
+ .total_size = (1 << 22), /* 4 MiB */ \
377
377
.start_up_time_us = 5000, \
378
378
.manufacturer_id = 0xc2, \
379
379
.memory_type = 0x20, \
@@ -392,7 +392,7 @@ typedef struct {
392
392
// Datasheet: http://www.macronix.com/Lists/Datasheet/Attachments/7428/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.4.pdf
393
393
// By default its in lower power mode which can only do 8mhz. In high power mode it can do 80mhz.
394
394
#define MX25R6435F { \
395
- .total_size = (1 << 23), /* 8 MiB */ \
395
+ .total_size = (1 << 23), /* 8 MiB */ \
396
396
.start_up_time_us = 5000, \
397
397
.manufacturer_id = 0xc2, \
398
398
.memory_type = 0x28, \
@@ -410,7 +410,7 @@ typedef struct {
410
410
// Settings for the Winbond W25Q128JV-PM 16MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
411
411
// Datasheet: https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf
412
412
#define W25Q128JV_PM { \
413
- .total_size = (1 << 24), /* 16 MiB */ \
413
+ .total_size = (1 << 24), /* 16 MiB */ \
414
414
.start_up_time_us = 5000, \
415
415
.manufacturer_id = 0xef, \
416
416
.memory_type = 0x70, \
@@ -427,7 +427,7 @@ typedef struct {
427
427
// Settings for the Winbond W25Q32FV 4MiB SPI flash.
428
428
// Datasheet:http://www.winbond.com/resource-files/w25q32fv%20revj%2006032016.pdf?__locale=en
429
429
#define W25Q32FV { \
430
- .total_size = (1 << 22), /* 4 MiB */ \
430
+ .total_size = (1 << 22), /* 4 MiB */ \
431
431
.start_up_time_us = 5000, \
432
432
.manufacturer_id = 0xef, \
433
433
.memory_type = 0x40, \
@@ -444,7 +444,7 @@ typedef struct {
444
444
445
445
// Settings for the ISSI devices
446
446
#define IS25LPWP064D { \
447
- .total_size = (1 << 23), /* 8 MiB */ \
447
+ .total_size = (1 << 23), /* 8 MiB */ \
448
448
.start_up_time_us = 5000, \
449
449
.manufacturer_id = 0x9D, \
450
450
.memory_type = 0x60, \
@@ -461,7 +461,7 @@ typedef struct {
461
461
462
462
// Settings for a GENERIC device with the most common setting
463
463
#define GENERIC { \
464
- .total_size = (1 << 21), /* 2 MiB */ \
464
+ .total_size = (1 << 21), /* 2 MiB */ \
465
465
.start_up_time_us = 5000, \
466
466
.manufacturer_id = 0x00, \
467
467
.memory_type = 0x40, \
0 commit comments