public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mips: fix DTC unit warnings
@ 2016-04-15 10:59 Heiko Schocher
  2016-04-15 11:08 ` Purna Chandra Mandal
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Heiko Schocher @ 2016-04-15 10:59 UTC (permalink / raw)
  To: u-boot

Fix following warnings for all mips based boards:
     mips:  +   pic32mzdask
+Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
+Warning (unit_address_vs_reg): Node /cpus/cpu at 0 has a unit name, but no reg property

Signed-off-by: Heiko Schocher <hs@denx.de>
---
This warnings pop up with the DTC compiler:
$ /tmp/dtc/dtc -v
Version: DTC 1.4.1-gbeef80b8

This fixes the compile warnings for:
https://travis-ci.org/hsdenx/u-boot/jobs/123254184

see:
https://travis-ci.org/hsdenx/u-boot/jobs/123281033


 arch/mips/dts/pic32mzda.dtsi | 2 +-
 arch/mips/dts/skeleton.dtsi  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/dts/pic32mzda.dtsi b/arch/mips/dts/pic32mzda.dtsi
index 8a554f9..791c364 100644
--- a/arch/mips/dts/pic32mzda.dtsi
+++ b/arch/mips/dts/pic32mzda.dtsi
@@ -27,7 +27,7 @@
 	};
 
 	cpus {
-		cpu at 0 {
+		cpu {
 			compatible = "mips,mips14kc";
 		};
 	};
diff --git a/arch/mips/dts/skeleton.dtsi b/arch/mips/dts/skeleton.dtsi
index 24ee6c3..643996c 100644
--- a/arch/mips/dts/skeleton.dtsi
+++ b/arch/mips/dts/skeleton.dtsi
@@ -16,7 +16,7 @@
 	aliases {
 	};
 
-	memory {
+	memory at 0 {
 		device_type = "memory";
 		reg = <0 0>;
 	};
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-04-18 15:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 10:59 [U-Boot] [PATCH] mips: fix DTC unit warnings Heiko Schocher
2016-04-15 11:08 ` Purna Chandra Mandal
2016-04-15 11:13 ` Daniel Schwierzeck
2016-04-15 15:23 ` Andreas Färber
2016-04-15 16:30   ` Tom Rini
2016-04-15 16:56     ` Stephen Warren
2016-04-15 17:11       ` Tom Rini
2016-04-15 17:37         ` Stephen Warren
2016-04-15 17:45           ` Tom Rini
2016-04-18  5:38       ` Heiko Schocher
2016-04-18 15:30         ` Tom Rini
2016-04-15 18:08     ` Heiko Stübner
2016-04-18 12:48   ` Purna Chandra Mandal
2016-04-18 15:31 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox