MIPS: bmips: Remove obsolete DMA mapping support
authorJim Quinlan <jim2101024@gmail.com>
Thu, 9 Dec 2021 20:47:24 +0000 (15:47 -0500)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 11 Jan 2022 10:55:41 +0000 (11:55 +0100)
commitd552ddeaab4a15a8dc157ac007833aa0b3706862
tree2154f1803c8497f39815fad8e564985be17bb774
parent6fffb01e3b78ba3a38baf49c1dc7eeb5edfd5818
MIPS: bmips: Remove obsolete DMA mapping support

The code in 'arch/mips/bmips/dma.c' performed DMA mapping for inbound
regions.  This mapping was and is required for the Broadcom STB PCIe
controller HW.  This code is removed as the current 'struct device' has a
@dma_range_map field which performs the same functionality by processing
the "dma-ranges" DT property.

Subsequently, ARCH_HAS_PHYS_TO_DMA is now unset since the dma_to_phys()
and phys_to_dma() functions are removed.

Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/bmips/dma.c