diff mbox

[U-Boot,v2,25/30] ARM: dts: keystone-k2g: Remove skeleton.dtsi

Message ID 20170523174259.14797-26-fcooper@ti.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Franklin S Cooper Jr May 23, 2017, 5:42 p.m. UTC
Adding the unit address to the memory node was causing the below error:
Warning (reg_format): "reg" property in /memory has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 2)

Further debugging showed that this was due to the memory node added by
default to skeleton.dtsi which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
This patch mimics similar changes being pulled into Linux kernel.

 arch/arm/dts/keystone-k2g.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/dts/keystone-k2g.dtsi b/arch/arm/dts/keystone-k2g.dtsi
index 191e3f1..f05afb7 100644
--- a/arch/arm/dts/keystone-k2g.dtsi
+++ b/arch/arm/dts/keystone-k2g.dtsi
@@ -9,7 +9,6 @@ 
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include "skeleton.dtsi"
 
 / {
 	model = "Texas Instruments K2G SoC";
@@ -17,6 +16,8 @@ 
 	#size-cells = <1>;
 	interrupt-parent = <&gic>;
 
+	chosen { };
+
 	aliases {
 		serial0	= &uart0;
 		spi0 = &spi0;