diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2014-02-20 08:59:23 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 18:09:21 -0400 |
commit | 88e9a93c9d53ddcf633aa07f14245da7f30408c2 (patch) | |
tree | 743667e5317873f87f82a430c71de90cd106b34a /arch/mips/Kconfig | |
parent | 8005711c8d80e452748e9572bead54493818f042 (diff) |
MIPS: Alchemy: Determine cohereny at runtime based on cpu type
All Alchemy chips have coherent DMA, but for example the USB or AC97
peripherals on the Au1000/1500/1100 are not.
This patch uses DMA_MAYBE_COHERENT on Alchemy and sets coherentio based
on CPU type.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/6576/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index daef6709db15..51f5a09f179d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -63,6 +63,7 @@ config MIPS_ALCHEMY | |||
63 | select CEVT_R4K | 63 | select CEVT_R4K |
64 | select CSRC_R4K | 64 | select CSRC_R4K |
65 | select IRQ_CPU | 65 | select IRQ_CPU |
66 | select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is | ||
66 | select SYS_HAS_CPU_MIPS32_R1 | 67 | select SYS_HAS_CPU_MIPS32_R1 |
67 | select SYS_SUPPORTS_32BIT_KERNEL | 68 | select SYS_SUPPORTS_32BIT_KERNEL |
68 | select SYS_SUPPORTS_APM_EMULATION | 69 | select SYS_SUPPORTS_APM_EMULATION |