drivers: nrf_qspi_nor: Add option for 2bit IO

Add missing NRF_QSPI_READOC_READ2IO option handling
to enable 2bit IO

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
This commit is contained in:
Bartosz Sokolski 2024-02-12 15:37:09 +01:00 committed by Anas Nashif
parent d1d6938a16
commit f4d55e7f68

View file

@ -637,7 +637,8 @@ static int configure_chip(const struct device *dev)
bool qe_value = (prot_if->writeoc == NRF_QSPI_WRITEOC_PP4IO) ||
(prot_if->writeoc == NRF_QSPI_WRITEOC_PP4O) ||
(prot_if->readoc == NRF_QSPI_READOC_READ4IO) ||
(prot_if->readoc == NRF_QSPI_READOC_READ4O);
(prot_if->readoc == NRF_QSPI_READOC_READ4O) ||
(prot_if->readoc == NRF_QSPI_READOC_READ2IO);
uint8_t sr_num = 0;
uint8_t qe_mask = 0;