diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-26 21:35:02 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-26 21:35:02 -0400 |
commit | 01be5d63fd4645eab1d05a7caa04462c11c8b7a1 (patch) | |
tree | 9c316a404a55dc2a43ef5e0156590d37a828cf54 /arch/sh/Kconfig | |
parent | 3f375f12ecb9c691dda70bb64b313e55fe6ee4ee (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/Kconfig | 7 |
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 | |||
169 | config IO_TRAPPED | 169 | config IO_TRAPPED |
170 | bool | 170 | bool |
171 | 171 | ||
172 | config DMA_COHERENT | ||
173 | bool | ||
174 | |||
175 | config DMA_NONCOHERENT | ||
176 | def_bool !DMA_COHERENT | ||
177 | |||
172 | source "init/Kconfig" | 178 | source "init/Kconfig" |
173 | 179 | ||
174 | source "kernel/Kconfig.freezer" | 180 | source "kernel/Kconfig.freezer" |
@@ -217,6 +223,7 @@ config CPU_SHX2 | |||
217 | 223 | ||
218 | config CPU_SHX3 | 224 | config CPU_SHX3 |
219 | bool | 225 | bool |
226 | select DMA_COHERENT | ||
220 | 227 | ||
221 | config ARCH_SHMOBILE | 228 | config ARCH_SHMOBILE |
222 | bool | 229 | bool |