diff options
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r-- | drivers/dma/Kconfig | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 4802bf522d..e7516466d9 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -3,8 +3,21 @@ menu "DMA support" config MXS_APBH_DMA tristate "MXS APBH DMA ENGINE" - depends on ARCH_IMX23 || ARCH_IMX28 || ARCH_IMX6 + depends on ARCH_IMX23 || ARCH_IMX28 || ARCH_IMX6 || ARCH_IMX7 select STMP_DEVICE help Experimental! + +config OF_DMA_COHERENCY + bool "Respect device tree DMA coherency settings" if COMPILE_TEST + depends on HAS_DMA && OFDEVICE + help + For most platforms supported, either all DMA is coherent or it isn't. + Platforms that have DMA masters of mixed coherency or that differ + from the architecture default will select this option to parse + DMA coherency out of the DT. This allows barebox to choose the + correct cache maintenance operation during runtime and will cause + barebox to fix up its own DMA coherency setting into the kernel + DT if it differs. + endmenu |