OSPI test: dummy cycle update

pull/13896/head
jeromecoutant 2020-10-23 11:14:46 +02:00
parent 3697167b73
commit 4d8127223c
1 changed files with 3 additions and 3 deletions

View File

@ -82,11 +82,11 @@ void OspiCommand::build(int instruction, int address, int alt)
if (instruction == STATUS_REG) {
_cmd.address.disabled = 0;
_cmd.address.value = 0;
_cmd.dummy_count = 4;
_cmd.dummy_count = OSPI_READ_FAST_DUMMY_CYCLE;
} else if (instruction == OSPI_CMD_RDCR2) {
_cmd.dummy_count = 4;
_cmd.dummy_count = OSPI_READ_FAST_DUMMY_CYCLE;
} else if ((instruction == OSPI_CMD_READ_OPI) || (instruction == OSPI_CMD_READ_DOPI)) {
_cmd.dummy_count = 20;
_cmd.dummy_count = OSPI_READ_8IO_DUMMY_CYCLE;
} else {
_cmd.dummy_count = 0;
}