Skip to content

Commit

Permalink
ARM: dove: add MBUS_ID macro to Dove DT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hesselbarth authored and Jason Cooper committed Sep 30, 2013
1 parent fbd99d5 commit 6953af7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/dove.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/include/ "skeleton.dtsi"

#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))

/ {
compatible = "marvell,dove";
model = "Marvell Armada 88AP510 SoC";
Expand Down

0 comments on commit 6953af7

Please sign in to comment.