Skip to content

Commit ccedc62

Browse files
committed
Hack: QSPIFlash: also remove _needs_fast_mode for macronix quirks
Completes e8674c3fc4c78946b6c7c3f38de23d7773733350 This avoids triggering MBED_ASSERT(_num_status_registers == 3); (only applies in debug mode)
1 parent 381f681 commit ccedc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ int QSPIFBlockDevice::_handle_vendor_quirks()
10581058
// 2. Require setting a "fast mode" bit in config register 2 to operate at higher clock rates
10591059
// 3. Should never attempt to enable 4-byte addressing (it causes reads and writes to fail)
10601060
tr_debug("Applying quirks for macronix");
1061-
_needs_fast_mode = true;
1061+
//_needs_fast_mode = true;
10621062
_read_status_reg_2_inst = QSPIF_INST_RDCR;
10631063
_attempt_4_byte_addressing = false;
10641064
break;

0 commit comments

Comments
 (0)