From mboxrd@z Thu Jan 1 00:00:00 1970 From: Purna Chandra Mandal Date: Fri, 15 Apr 2016 16:38:45 +0530 Subject: [U-Boot] [PATCH] mips: fix DTC unit warnings In-Reply-To: <1460717976-24683-1-git-send-email-hs@denx.de> References: <1460717976-24683-1-git-send-email-hs@denx.de> Message-ID: <5710CBBD.5010207@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/15/2016 04:29 PM, Heiko Schocher wrote: > 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 > --- > 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>; > }; Reviewed-by: Purna Chandra Mandal