linux-stable/arch/mips/alchemy/common
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
..
clock.c MIPS: alchemy: Remove CLK_IS_ROOT 2016-05-13 15:30:25 +02:00
dbdma.c MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
dma.c MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00
gpiolib.c MIPS: alchemy: switch to gpiochip_add_data() 2016-02-19 09:51:43 +01:00
irq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
Makefile MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00
platform.c MIPS: Alchemy: platform: use clk framework for uarts 2014-07-30 14:09:02 +02:00
power.c MIPS: Alchemy: add helpers to access static memory ctrl registers. 2014-07-30 13:53:52 +02:00
prom.c
setup.c MIPS: Sanitise coherentio semantics 2016-10-06 18:01:28 +02:00
sleeper.S MIPS: Fix gigaton of warning building with microMIPS. 2014-03-31 18:17:12 +02:00
time.c MIPS: Alchemy: Migrate to new 'set-state' interface 2015-09-03 12:07:50 +02:00
usb.c MIPS: Alchemy: usb: use clk framework 2014-07-30 14:09:21 +02:00
vss.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00