diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-15 13:08:49 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-06-24 18:27:27 +0200 |
commit | d1f2564a5639bb54493eaa313aef612aee47ba7c (patch) | |
tree | e27dc3e062bb8d927c8e999af4f58e83f21b499d /arch/mips/ath25 | |
parent | MIPS: IP32: use generic dma noncoherent ops (diff) | |
download | linux-d1f2564a5639bb54493eaa313aef612aee47ba7c.tar.xz linux-d1f2564a5639bb54493eaa313aef612aee47ba7c.zip |
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')
-rw-r--r-- | arch/mips/ath25/Kconfig | 1 |
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 |