modules: nrf_wifi: Disable anomalies for both QSPIs

These are applicable for Wi-Fi over QSPI (nRF7002DK) or Flash over QSPI
(nRF52/53 + nRF7002EK) and as most Wi-Fi samples run on 128MHz (for
performance), disable the anomalies for both.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2025-04-18 14:47:22 +05:30 committed by Benjamin Cabé
commit 4660f4c244

View file

@ -8,16 +8,18 @@ set(NRF_WIFI_DIR ${ZEPHYR_CURRENT_MODULE_DIR})
if (CONFIG_NRF70_BUSLIB) if (CONFIG_NRF70_BUSLIB)
zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI if(CONFIG_NRF70_ON_QSPI OR CONFIG_NORDIC_QSPI_NOR)
# These are XIP related anomalies and aren't applicable for nRF7002 and cause zephyr_compile_definitions(
# throughput issues. # These are XIP related anomalies and aren't applicable for nRF7002 and cause
-DNRF53_ERRATA_43_ENABLE_WORKAROUND=0 # throughput issues.
-DNRF52_ERRATA_215_ENABLE_WORKAROUND=0 -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
# nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159 -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
# but as its rare and not seen in most cases, we can disable it. # nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
# Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance. # but as its rare and not seen in most cases, we can disable it.
-DNRF53_ERRATA_159_ENABLE_WORKAROUND=0 # Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
) -DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
)
endif()
zephyr_library_named(nrf70-buslib) zephyr_library_named(nrf70-buslib)
zephyr_library_include_directories( zephyr_library_include_directories(