Browse Source

ARM: dove: add MBUS_ID macro to Dove DT

This adds a macro used for defining address window's target ID and
attribute cells for the MBus ranges entry.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Sebastian Hesselbarth 12 years ago
parent
commit
6953af7749
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/boot/dts/dove.dtsi

+ 2 - 0
arch/arm/boot/dts/dove.dtsi

@@ -1,5 +1,7 @@
 /include/ "skeleton.dtsi"
 
+#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
+
 / {
 	compatible = "marvell,dove";
 	model = "Marvell Armada 88AP510 SoC";