summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-07-26 10:18:04 -0300
committerJason Cooper <jason@lakedaemon.net>2013-08-06 14:11:48 +0000
commit3ec81e7e0374734893941258c8cbb998a780c5eb (patch)
tree752b03c7eb5dfe55e8d54a1da901e56ca23096fc /arch/arm/boot/dts
parent455f81a392008ce0d4279cef3ff29e152d7f4d78 (diff)
downloadblackbird-op-linux-3ec81e7e0374734893941258c8cbb998a780c5eb.tar.gz
blackbird-op-linux-3ec81e7e0374734893941258c8cbb998a780c5eb.zip
ARM: kirkwood: Introduce MBUS_ID
This macro is used to define window's target ID and attribute cells for the MBus ranges entries. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/kirkwood.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
index 83d53b39f911..5003c8302b76 100644
--- a/arch/arm/boot/dts/kirkwood.dtsi
+++ b/arch/arm/boot/dts/kirkwood.dtsi
@@ -1,5 +1,7 @@
/include/ "skeleton.dtsi"
+#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
+
/ {
compatible = "marvell,kirkwood";
interrupt-parent = <&intc>;
OpenPOWER on IntegriCloud