summaryrefslogtreecommitdiff
path: root/arch/mips/ath25/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-15 14:08:49 +0300
committerPaul Burton <paul.burton@mips.com>2018-06-24 19:27:27 +0300
commitd1f2564a5639bb54493eaa313aef612aee47ba7c (patch)
treee27dc3e062bb8d927c8e999af4f58e83f21b499d /arch/mips/ath25/Kconfig
parent03df8229a822ab2c262bf78b05a3ada686b885b9 (diff)
downloadlinux-d1f2564a5639bb54493eaa313aef612aee47ba7c.tar.xz
MIPS: ath25: use generic dma noncoherent ops
Provide phys_to_dma/dma_to_phys helpers only if PCI support is enabled, everything else is generic. Signed-off-by: Christoph Hellwig <hch@lst.de> Patchwork: https://patchwork.linux-mips.org/patch/19547/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: David Daney <david.daney@cavium.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de> Cc: Huacai Chen <chenhc@lemote.com> Cc: iommu@lists.linux-foundation.org Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/ath25/Kconfig')
-rw-r--r--arch/mips/ath25/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ath25/Kconfig b/arch/mips/ath25/Kconfig
index 7070b4bcd01d..2c1dfd06c366 100644
--- a/arch/mips/ath25/Kconfig
+++ b/arch/mips/ath25/Kconfig
@@ -12,6 +12,7 @@ config SOC_AR2315
config PCI_AR2315
bool "Atheros AR2315 PCI controller support"
depends on SOC_AR2315
+ select ARCH_HAS_PHYS_TO_DMA
select HW_HAS_PCI
select PCI
default y