arm: plat-orion: Add coherency attribute when setup mbus target
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 12 Oct 2012 15:59:48 +0000 (17:59 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 21 Nov 2012 16:07:49 +0000 (17:07 +0100)
commit722202e10b488c14e93c428743a0e476093949e3
tree204a0b63402b8d21dcc95699a7ce95de666d3919
parent87b54e786afda828984645a8364a228ae8ac71f4
arm: plat-orion: Add coherency attribute when setup mbus target

Recent SoC such as Armada 370/XP came with the possibility to deal
with the I/O coherency by hardware. In this case the transaction
attribute of the window must be flagged as "Shared transaction". Once
this flag is set, then the transactions will be forced to be sent
through the coherency block, in other case transaction is driven
directly to DRAM.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Reviewed-by: Yehuda Yitschak <yehuday@marvell.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/plat-orion/addr-map.c
arch/arm/plat-orion/include/plat/addr-map.h