dts: mpc512x: prepare for preprocessor support
authorGerhard Sittig <gsi@denx.de>
Mon, 3 Jun 2013 17:38:30 +0000 (19:38 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 23 Aug 2013 22:18:55 +0000 (00:18 +0200)
prepare C preprocessor support when processing MPC512x DTS files
- switch from DTS syntax to CPP syntax for include specs
- create a symlink such that DTS processing can reference includes

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/boot/dts/ac14xx.dts
arch/powerpc/boot/dts/include/dt-bindings [new symlink]
arch/powerpc/boot/dts/mpc5121ads.dts
arch/powerpc/boot/dts/pdm360ng.dts

index a27a460..a543c40 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 
-/include/ "mpc5121.dtsi"
+#include <mpc5121.dtsi>
 
 / {
        model = "ac14xx";
diff --git a/arch/powerpc/boot/dts/include/dt-bindings b/arch/powerpc/boot/dts/include/dt-bindings
new file mode 120000 (symlink)
index 0000000..08c00e4
--- /dev/null
@@ -0,0 +1 @@
+../../../../../include/dt-bindings
\ No newline at end of file
index 7d3cb79..c228a0a 100644 (file)
@@ -9,7 +9,7 @@
  * option) any later version.
  */
 
-/include/ "mpc5121.dtsi"
+#include <mpc5121.dtsi>
 
 / {
        model = "mpc5121ads";
index 7433740..871c16d 100644 (file)
@@ -13,7 +13,7 @@
  * option) any later version.
  */
 
-/include/ "mpc5121.dtsi"
+#include <mpc5121.dtsi>
 
 / {
        model = "pdm360ng";