drivers: eth_mcux: cache must be dcache

Currently the Kconfig for eth_mcux selects nocache if
HAS_MCUX_CACHE is set. But, for platforms that have a flexspi
cache but not a CPU cache, this is invalid, so clarify this
in the Kconfig definition.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2023-10-12 15:44:17 -05:00 committed by Fabio Baltieri
commit 7d5d4ed907

View file

@ -7,7 +7,7 @@ menuconfig ETH_MCUX
bool "MCUX Ethernet driver"
default y
depends on DT_HAS_NXP_KINETIS_ETHERNET_ENABLED
select NOCACHE_MEMORY if HAS_MCUX_CACHE
select NOCACHE_MEMORY if HAS_MCUX_CACHE && CPU_HAS_DCACHE
select ARM_MPU if CPU_CORTEX_M7
select NET_POWER_MANAGEMENT if PM_DEVICE
help