File tree 2 files changed +5
-3
lines changed
storage/blockdevice/COMPONENT_QSPIF
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 18
18
"QSPI_POLARITY_MODE" : 0 ,
19
19
"QSPI_FREQ" : " 40000000" ,
20
20
"QSPI_MIN_READ_SIZE" : " 1" ,
21
- "QSPI_MIN_PROG_SIZE" : " 1"
21
+ "QSPI_MIN_PROG_SIZE" : " 1" ,
22
+ "QSPI_NUM_STATUS_REGISTER" :" 2"
22
23
},
23
24
"target_overrides" : {
24
25
"MX25R6435F" : {
25
- "QSPI_FREQ" : " 8000000"
26
+ "QSPI_FREQ" : " 8000000" ,
27
+ "QSPI_NUM_STATUS_REGISTER" :" 3"
26
28
},
27
29
"MX25L51245G" : {
28
30
"QSPI_FREQ" : " 8000000"
Original file line number Diff line number Diff line change @@ -1093,7 +1093,7 @@ int QSPIFBlockDevice::_handle_vendor_quirks()
1093
1093
// 3. Should never attempt to enable 4-byte addressing (it causes reads and writes to fail)
1094
1094
tr_debug (" Applying quirks for macronix" );
1095
1095
_needs_fast_mode = true ;
1096
- _num_status_registers = 3 ;
1096
+ _num_status_registers = MBED_CONF_QSPI_NUM_STATUS_REGISTER ;
1097
1097
_read_status_reg_2_inst = QSPIF_INST_RDCR;
1098
1098
_attempt_4_byte_addressing = false ;
1099
1099
break ;
You can’t perform that action at this time.
0 commit comments