aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-26 21:35:02 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-26 21:35:02 -0400
commit01be5d63fd4645eab1d05a7caa04462c11c8b7a1 (patch)
tree9c316a404a55dc2a43ef5e0156590d37a828cf54 /arch/sh/Kconfig
parent3f375f12ecb9c691dda70bb64b313e55fe6ee4ee (diff)
sh: Revamp PCI DMA coherence Kconfig bits.
Leaving this configurable caused more trouble than it was ever worth, so just make it explicit. Boards that are verified one way or the other can fix up their selects accordingly. We presently default to non-coherent for most platforms. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2d3a69993858..e5ee3b159e50 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -169,6 +169,12 @@ config ARCH_HAS_CPU_IDLE_WAIT
169config IO_TRAPPED 169config IO_TRAPPED
170 bool 170 bool
171 171
172config DMA_COHERENT
173 bool
174
175config DMA_NONCOHERENT
176 def_bool !DMA_COHERENT
177
172source "init/Kconfig" 178source "init/Kconfig"
173 179
174source "kernel/Kconfig.freezer" 180source "kernel/Kconfig.freezer"
@@ -217,6 +223,7 @@ config CPU_SHX2
217 223
218config CPU_SHX3 224config CPU_SHX3
219 bool 225 bool
226 select DMA_COHERENT
220 227
221config ARCH_SHMOBILE 228config ARCH_SHMOBILE
222 bool 229 bool