Skip to contentSkip to conversation

ARM: dts: Remove skeleton.dtsi

PATCH Applied Alexander Shiyan 2 participants 3 messages Jun 6, 2014 – Jul 9, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Remove skeleton.dtsi

Reuse basic "skeleton.dtsi" template for some DTS targets.

---
 arch/arm/dts/dm365.dtsi      |  2 +-
 arch/arm/dts/imx25.dtsi      |  1 -
 arch/arm/dts/k1879hb1ya.dtsi |  2 +-
 arch/arm/dts/skeleton.dtsi   | 13 -------------
 arch/arm/dts/socfpga.dtsi    |  2 +-
 arch/arm/dts/tegra30.dtsi    |  2 +-
 6 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 arch/arm/dts/skeleton.dtsi
arch/arm/dts/dm365.dtsi +1 -1
index ea69007..c571908 100644
@@ -1,4 +1,4 @@
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	soc {
arch/arm/dts/imx25.dtsi +0 -1
index 13fbcc4..082429a 100644
@@ -9,7 +9,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-#include "skeleton.dtsi"
 #include <arm/imx25.dtsi>
 
 / {
arch/arm/dts/k1879hb1ya.dtsi +1 -1
index 83ba7fb..87a0faa 100644
@@ -1,4 +1,4 @@
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	soc {
arch/arm/dts/skeleton.dtsi deleted +0 -13
deleted file mode 100644
index b41d241..0000000
@@ -1,13 +0,0 @@
-/*
- * Skeleton device tree; the bare minimum needed to boot; just include and
- * add a compatible value.  The bootloader will typically populate the memory
- * node.
- */
-
-/ {
-	#address-cells = <1>;
-	#size-cells = <1>;
-	chosen { };
-	aliases { };
-	memory { device_type = "memory"; reg = <0 0>; };
-};
arch/arm/dts/socfpga.dtsi +1 -1
index 3368b45..192b6de 100644
@@ -15,7 +15,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/include/ "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	#address-cells = <1>;
arch/arm/dts/tegra30.dtsi +1 -1
index 19a84e9..023db9f 100644
@@ -3,7 +3,7 @@
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	compatible = "nvidia,tegra30";
Signature · 7 lines
1.8.5.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#1 lore raw
Quoted 3 lines · Alexander Shiyan

Reuse basic "skeleton.dtsi" template for some DTS targets.

Applied, thanks

Sascha

Quoted 96 lines
---
 arch/arm/dts/dm365.dtsi      |  2 +-
 arch/arm/dts/imx25.dtsi      |  1 -
 arch/arm/dts/k1879hb1ya.dtsi |  2 +-
 arch/arm/dts/skeleton.dtsi   | 13 -------------
 arch/arm/dts/socfpga.dtsi    |  2 +-
 arch/arm/dts/tegra30.dtsi    |  2 +-
 6 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 arch/arm/dts/skeleton.dtsi
arch/arm/dts/dm365.dtsi +1 -1
index ea69007..c571908 100644
@@ -1,4 +1,4 @@
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	soc {
arch/arm/dts/imx25.dtsi +0 -1
index 13fbcc4..082429a 100644
@@ -9,7 +9,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-#include "skeleton.dtsi"
 #include <arm/imx25.dtsi>
 
 / {
arch/arm/dts/k1879hb1ya.dtsi +1 -1
index 83ba7fb..87a0faa 100644
@@ -1,4 +1,4 @@
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	soc {
arch/arm/dts/skeleton.dtsi deleted +0 -13
deleted file mode 100644
index b41d241..0000000
@@ -1,13 +0,0 @@
-/*
- * Skeleton device tree; the bare minimum needed to boot; just include and
- * add a compatible value.  The bootloader will typically populate the memory
- * node.
- */
-
-/ {
-	#address-cells = <1>;
-	#size-cells = <1>;
-	chosen { };
-	aliases { };
-	memory { device_type = "memory"; reg = <0 0>; };
-};
arch/arm/dts/socfpga.dtsi +1 -1
index 3368b45..192b6de 100644
@@ -15,7 +15,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/include/ "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	#address-cells = <1>;
arch/arm/dts/tegra30.dtsi +1 -1
index 19a84e9..023db9f 100644
@@ -3,7 +3,7 @@
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
+#include <arm/skeleton.dtsi>
 
 / {
 	compatible = "nvidia,tegra30";
Signature · 7 lines
1.8.5.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer
#2 lore raw
Quoted 6 lines · Sascha Hauer
Quoted 3 lines · Alexander Shiyan

Reuse basic "skeleton.dtsi" template for some DTS targets.

Applied, thanks

And dropped it again. It breaks socfpga_defconfig:

FATAL ERROR: Unable to parse input tree
Error: arch/arm/dts/socfpga.dtsi:18.1-9 syntax error
scripts/Makefile.lib:231: recipe for target 'arch/arm/dts/socfpga_cyclone5_sockit.dtb' failed make[1]: *** [arch/arm/dts/socfpga_cyclone5_sockit.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
FATAL ERROR: Unable to parse input tree
Error: arch/arm/dts/socfpga.dtsi:18.1-9 syntax error
scripts/Makefile.lib:231: recipe for target 'arch/arm/dts/socfpga_cyclone5_socrates.dtb' failed make[1]: *** [arch/arm/dts/socfpga_cyclone5_socrates.dtb] Error 1
Makefile:769: recipe for target 'arch/arm/dts' failed
make: *** [arch/arm/dts] Error 2
make: *** Waiting for unfinished jobs....

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox