kernel_optimize_test/arch/mips/alchemy
Paul Burton f23020230e MIPS: Sanitise coherentio semantics
The coherentio variable has previously been used as a boolean value,
indicating whether the user specified that coherent I/O should be
enabled or disabled. It failed to take into account the case where the
user does not specify any preference, in which case it makes sense that
we should default to coherent I/O if the hardware supports it
(hw_coherentio is non-zero).

Introduce an enum to clarify the 3 different values of coherentio & use
it throughout the code, modifying plat_device_is_coherent() &
r4k_cache_init() to take into account the default case.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Paul Burton <paul.burton@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/14347/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-10-06 18:01:28 +02:00
..
common MIPS: Sanitise coherentio semantics 2016-10-06 18:01:28 +02:00
devboards pcmcia: db1xxx_ss: fix last irq_to_gpio user 2016-03-29 22:48:53 +02:00
board-gpr.c MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00
board-mtx1.c MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00
board-xxs1500.c MIPS: Alchemy: introduce helpers to access SYS register block. 2014-07-30 13:53:28 +02:00
Kconfig MIPS: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-05-11 13:52:05 +02:00
Makefile MIPS: Alchemy: merge GPR/MTX-1/XXS1500 board code into single files 2011-12-07 22:02:06 +00:00
Platform MIPS: Alchemy: Unify Devboard support. 2014-03-26 23:09:21 +01:00