Merge pull request #4439 from OpenNuvoton/sfud_dualio_issue
[sfud] Correct dual_io dummy cycle setting to 4.
This commit is contained in:
commit
6bb07da6e8
|
@ -218,7 +218,7 @@ sfud_err sfud_qspi_fast_read_enable(sfud_flash *flash, uint8_t data_line_width)
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if (read_mode & DUAL_IO) {
|
if (read_mode & DUAL_IO) {
|
||||||
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_IO_READ_DATA, 1, 2, 8, 2);
|
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_IO_READ_DATA, 1, 2, 4, 2);
|
||||||
} else if (read_mode & DUAL_OUTPUT) {
|
} else if (read_mode & DUAL_OUTPUT) {
|
||||||
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_OUTPUT_READ_DATA, 1, 1, 8, 2);
|
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_OUTPUT_READ_DATA, 1, 1, 8, 2);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue