MIPS: Alchemy: Determine cohereny at runtime based on cpu type
authorManuel Lauss <manuel.lauss@gmail.com>
Thu, 20 Feb 2014 13:59:23 +0000 (14:59 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:21 +0000 (23:09 +0100)
commit88e9a93c9d53ddcf633aa07f14245da7f30408c2
tree743667e5317873f87f82a430c71de90cd106b34a
parent8005711c8d80e452748e9572bead54493818f042
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>
arch/mips/Kconfig
arch/mips/alchemy/Kconfig
arch/mips/alchemy/common/setup.c
arch/mips/pci/pci-alchemy.c