Skip to content

Commit 7d5d4ed

Browse files
decsnyfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 179d435 commit 7d5d4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ethernet/Kconfig.mcux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ menuconfig ETH_MCUX
77
bool "MCUX Ethernet driver"
88
default y
99
depends on DT_HAS_NXP_KINETIS_ETHERNET_ENABLED
10-
select NOCACHE_MEMORY if HAS_MCUX_CACHE
10+
select NOCACHE_MEMORY if HAS_MCUX_CACHE && CPU_HAS_DCACHE
1111
select ARM_MPU if CPU_CORTEX_M7
1212
select NET_POWER_MANAGEMENT if PM_DEVICE
1313
help

0 commit comments

Comments
 (0)