We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9daca commit 456854bCopy full SHA for 456854b
storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp
@@ -1092,8 +1092,10 @@ int QSPIFBlockDevice::_handle_vendor_quirks()
1092
// 2. Require setting a "fast mode" bit in config register 2 to operate at higher clock rates
1093
// 3. Should never attempt to enable 4-byte addressing (it causes reads and writes to fail)
1094
tr_debug("Applying quirks for macronix");
1095
- _needs_fast_mode = true;
1096
- _num_status_registers = 3;
+ if (vendor_device_ids[1] != 0x20) {
+ _needs_fast_mode = true;
1097
+ _num_status_registers = 3;
1098
+ }
1099
_read_status_reg_2_inst = QSPIF_INST_RDCR;
1100
_attempt_4_byte_addressing = false;
1101
break;
0 commit comments