Skip to content

Commit

Permalink
drivers: eth_mcux: cache must be dcache
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
decsny authored and fabiobaltieri committed Oct 13, 2023
1 parent 179d435 commit 7d5d4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ethernet/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d5d4ed

Please sign in to comment.