From: Ezequiel Garcia Date: Fri, 26 Jul 2013 13:18:04 +0000 (-0300) Subject: ARM: kirkwood: Introduce MBUS_ID X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3ec81e7e0374734893941258c8cbb998a780c5eb;p=linux-beck.git 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 Tested-by: Andrew Lunn Tested-by: Sebastian Hesselbarth Signed-off-by: Jason Cooper --- 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>;