diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-27 04:35:02 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-27 04:35:02 +0300 |
commit | 01be5d63fd4645eab1d05a7caa04462c11c8b7a1 (patch) | |
tree | 9c316a404a55dc2a43ef5e0156590d37a828cf54 /arch/sh/Kconfig | |
parent | 3f375f12ecb9c691dda70bb64b313e55fe6ee4ee (diff) | |
download | linux-01be5d63fd4645eab1d05a7caa04462c11c8b7a1.tar.xz |
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 config IO_TRAPPED bool +config DMA_COHERENT + bool + +config DMA_NONCOHERENT + def_bool !DMA_COHERENT + source "init/Kconfig" source "kernel/Kconfig.freezer" @@ -217,6 +223,7 @@ config CPU_SHX2 config CPU_SHX3 bool + select DMA_COHERENT config ARCH_SHMOBILE bool |