Skip to content

Commit 5a0e946

Browse files
chenjianqiangdonghengqaz
chenjianqiang
authored andcommitted
bugfix(flash): add support for GD25Q64 qio enable
1 parent d701e4f commit 5a0e946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/spi_flash/src/spi_flash.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void user_spi_flash_dio_to_qio_pre_init(void)
430430
to_qio = true;
431431
}
432432
//ENABLE FLASH QIO 0X31H+BIT2
433-
} else if (((flash_id & 0xFFFFFF) == 0x1640C8) || ((flash_id & 0xFFFFFF) == 0x1840C8)) {
433+
} else if ((flash_id & 0xFFFF) == 0x40C8) {
434434
if (flash_gd25q32c_enable_QIO_mode() == true) {
435435
to_qio = true;
436436
}

0 commit comments

Comments
 (0)