Skip to content
Commit 7610eba4 authored by Declan Snyder's avatar Declan Snyder Committed by Chris Friedt
Browse files

drivers: dma_mcux_edma: Simplify cache attr macros



The dependency on the chosen node for dtcm can be expressed in Kconfig
language.

Cache we care about is CPU DCACHE, not the meaningless "MCUX Cache"

The macros can be reordered to be simpler by having only one level of
conditional (no nesting) instead of three levels.

Move this code closer in the file to where this cache attribute macro is
actually going to be used (the init macro) instead of randomly splitting
up the struct definitions at the top.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 4d34bee5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment