drivers: dma: mcux_emda: only enable nocache memory if supported

Only enable CONFIG_NOCACHE_MEMORY if supported by the SoC.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-07-11 08:19:13 +02:00 committed by Maureen Helm
commit c89ef2f393

View file

@ -6,7 +6,7 @@
config DMA_MCUX_EDMA config DMA_MCUX_EDMA
bool "Enable MCUX DMA driver" bool "Enable MCUX DMA driver"
depends on HAS_MCUX_EDMA depends on HAS_MCUX_EDMA
select NOCACHE_MEMORY if HAS_MCUX_CACHE imply NOCACHE_MEMORY if HAS_MCUX_CACHE
help help
DMA driver for MCUX series SoCs. DMA driver for MCUX series SoCs.