aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-footbridge/Kconfig
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2022-04-19 10:00:32 +0200
committerGravatar Christoph Hellwig <hch@lst.de> 2022-07-07 18:18:57 +0200
commitaf6f23b88e9508f1cb8d0af008bb175019428f73 (patch)
treea4f53323171d4d7f76b9834b1648f9ddcd8234e6 /arch/arm/mach-footbridge/Kconfig
parentARM/dma-mapping: use dma_to_phys/phys_to_dma in the dma-mapping code (diff)
downloadlinux-af6f23b88e9508f1cb8d0af008bb175019428f73.tar.gz
linux-af6f23b88e9508f1cb8d0af008bb175019428f73.tar.bz2
linux-af6f23b88e9508f1cb8d0af008bb175019428f73.zip
ARM/dma-mapping: use the generic versions of dma_to_phys/phys_to_dma by default
Only the footbridge platforms provide their own DMA address translation helpers, so switch to the generic version for all other platforms, and consolidate the footbridge implementation to remove two levels of indirection. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm/mach-footbridge/Kconfig')
-rw-r--r--arch/arm/mach-footbridge/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
index 728aff93fba9..b5bbdcf2e489 100644
--- a/arch/arm/mach-footbridge/Kconfig
+++ b/arch/arm/mach-footbridge/Kconfig
@@ -60,6 +60,7 @@ endmenu
# Footbridge support
config FOOTBRIDGE
+ select ARCH_HAS_PHYS_TO_DMA
bool
# Footbridge in host mode