linux/drivers/bus
Thomas Petazzoni 5686a1e5aa bus: mvebu: pass the coherency availability information at init time
Until now, the mvebu-mbus was guessing by itself whether hardware I/O
coherency was available or not by poking into the Device Tree to see
if the coherency fabric Device Tree node was present or not.

However, on some upcoming SoCs, the presence or absence of the
coherency fabric DT node isn't sufficient: in CONFIG_SMP, the
coherency can be enabled, but not in !CONFIG_SMP.

In order to clean this up, the mvebu_mbus_dt_init() function is
extended to get a boolean argument telling whether coherency is
enabled or not. Therefore, the logic to decide whether coherency is
available or not now belongs to the core SoC code instead of the
mvebu-mbus driver itself, which is much better.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483228-25625-4-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-04-24 05:00:36 +00:00
..
Kconfig drivers: bus: imx-weim: Add support for i.MX1/21/25/27/31/35/50/51/53 2013-08-16 12:59:44 +08:00
Makefile ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
arm-cci.c drivers: cci: Export CCI PMU revision 2014-02-25 19:36:17 +01:00
imx-weim.c bus: imx-weim: support CS GPR configuration 2014-03-05 10:40:46 +08:00
mvebu-mbus.c bus: mvebu: pass the coherency availability information at init time 2014-04-24 05:00:36 +00:00
omap-ocp2scp.c ARM: OMAP2+: Remove omap4 ocp2scp pdata 2013-05-30 13:09:31 -07:00
omap_l3_noc.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
omap_l3_noc.h drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00
omap_l3_smx.c drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00
omap_l3_smx.h drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00