diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-15 14:08:41 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-06-24 19:26:04 +0300 |
commit | d3bc81befcf2634c64f1b2a95311d54ccfa1e06c (patch) | |
tree | 4684ab327e8a14e565baf20cfc9f07b5a3b90c18 /arch/mips/loongson64/Kconfig | |
parent | a330a9c59b45e53dee7985237340f6480a1ea08f (diff) | |
download | linux-d3bc81befcf2634c64f1b2a95311d54ccfa1e06c.tar.xz |
MIPS: loongson: untangle dma implementations
Only loongson-3 is DMA coherent and uses swiotlb. So move the dma
address translations stubs directly to the loongson-3 code, and remove
a few Kconfig indirections.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19539/
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/loongson64/Kconfig')
-rw-r--r-- | arch/mips/loongson64/Kconfig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index dbd2a9f9f9a9..a785bf8da3f3 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loongson64/Kconfig @@ -93,7 +93,6 @@ config LOONGSON_MACH3X select LOONGSON_MC146818 select ZONE_DMA32 select LEFI_FIRMWARE_INTERFACE - select PHYS48_TO_HT40 help Generic Loongson 3 family machines utilize the 3A/3B revision of Loongson processor and RS780/SBX00 chipset. @@ -132,10 +131,6 @@ config LOONGSON_UART_BASE default y depends on EARLY_PRINTK || SERIAL_8250 -config PHYS48_TO_HT40 - bool - default y if CPU_LOONGSON3 - config LOONGSON_MC146818 bool default n |