Commit 6be87d61 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Thomas Bogendoerfer

MIPS: Always select ARCH_HAS_SETUP_DMA_OPS

arch_setup_dma_ops on MIPS sets coherency information in struct device.
It's essential for per-device coherency to work.

Select it for all non-coherent platforms.
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent ed6a0b6e
...@@ -134,7 +134,6 @@ choice ...@@ -134,7 +134,6 @@ choice
config MIPS_GENERIC_KERNEL config MIPS_GENERIC_KERNEL
bool "Generic board-agnostic MIPS kernel" bool "Generic board-agnostic MIPS kernel"
select ARCH_HAS_SETUP_DMA_OPS
select MIPS_GENERIC select MIPS_GENERIC
select BOOT_RAW select BOOT_RAW
select BUILTIN_DTB select BUILTIN_DTB
...@@ -1069,6 +1068,7 @@ config DMA_NONCOHERENT ...@@ -1069,6 +1068,7 @@ config DMA_NONCOHERENT
# by pgprot_writcombine can be mixed, and the latter sometimes provides # by pgprot_writcombine can be mixed, and the latter sometimes provides
# significant advantages. # significant advantages.
# #
select ARCH_HAS_SETUP_DMA_OPS
select ARCH_HAS_DMA_WRITE_COMBINE select ARCH_HAS_DMA_WRITE_COMBINE
select ARCH_HAS_DMA_PREP_COHERENT select ARCH_HAS_DMA_PREP_COHERENT
select ARCH_HAS_SYNC_DMA_FOR_DEVICE select ARCH_HAS_SYNC_DMA_FOR_DEVICE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment