[U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc

Wenyou Yang wenyou.yang at atmel.com
Mon Mar 13 07:53:58 UTC 2017


Fix the following warning from dtc by adding the unit name for
the memory node.
---8<---
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
---<8---

Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
---

 arch/arm/dts/skeleton.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/skeleton.dtsi b/arch/arm/dts/skeleton.dtsi
index b41d241de2..a20da0a7a6 100644
--- a/arch/arm/dts/skeleton.dtsi
+++ b/arch/arm/dts/skeleton.dtsi
@@ -9,5 +9,5 @@
 	#size-cells = <1>;
 	chosen { };
 	aliases { };
-	memory { device_type = "memory"; reg = <0 0>; };
+	memory at 0 { device_type = "memory"; reg = <0 0>; };
 };
-- 
2.11.0



More information about the U-Boot mailing list