mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
bus: mvebu-mbus: Restore checking for coherency fabric hardware
The new mvebu-mbus driver was not checking the device tree for coherency fabric hardware and hence was not setting the hw_io_coherency flag in mbus_state. This prevented the mvsdio driver from operating correctly. This patch restores the check. Signed-off-by: Neil Greatorex <neil@fatboyfat.co.uk> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
fddddb52a6
commit
fe0cd96c00
1 changed files with 3 additions and 0 deletions
|
@ -858,6 +858,9 @@ int __init mvebu_mbus_init(const char *soc, phys_addr_t mbuswins_phys_base,
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (of_find_compatible_node(NULL, NULL, "marvell,coherency-fabric"))
|
||||||
|
mbus->hw_io_coherency = 1;
|
||||||
|
|
||||||
for (win = 0; win < mbus->soc->num_wins; win++)
|
for (win = 0; win < mbus->soc->num_wins; win++)
|
||||||
mvebu_mbus_disable_window(mbus, win);
|
mvebu_mbus_disable_window(mbus, win);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue