summaryrefslogtreecommitdiffstats
path: root/arch/cris/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-09 16:32:02 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:35:16 +0100
commitf73337f4cef277f3c70f4bf9bdd6e93a52f57bdd (patch)
treef85c2d58516b46d545fdf7e5f72689373a75f301 /arch/cris/Kconfig
parent1a9777a8a01fb88659a3dda48080c95c34cab7d3 (diff)
downloadlinux-f73337f4cef277f3c70f4bf9bdd6e93a52f57bdd.tar.bz2
cris: use dma-direct
cris currently has an incomplete direct mapping dma_map_ops implementation if PCI support is enabled. Replace it with the fully feature generic dma-direct implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/Kconfig')
-rw-r--r--arch/cris/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 54d3f426763b..cd5a0865c97f 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -33,6 +33,9 @@ config GENERIC_CALIBRATE_DELAY
config NO_IOPORT_MAP
def_bool y if !PCI
+config NO_DMA
+ def_bool y if !PCI
+
config FORCE_MAX_ZONEORDER
int
default 6
@@ -72,6 +75,7 @@ config CRIS
select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
select HAVE_NMI
+ select DMA_DIRECT_OPS if PCI
config HZ
int