[PATCH] powerpc/fsl: Add empty ranges to etsec2 dts files

Martin Hicks mort at bork.org
Thu Jan 15 05:36:05 AEDT 2015


Perfect.  I'm glad there's a patch.
mh

On Mon, Jan 12, 2015 at 4:31 PM, Scott Wood <scottwood at freescale.com> wrote:

> On Mon, 2015-01-12 at 10:27 -0500, Martin Hicks wrote:
> >
> > With an earlier change (746c9e9f - Fix PowerPC address parsing hack),
> ethernet
> > has broken on Freescale boards such as the P1022.  All ranges used by the
> > ethernet controllers are also covered by sub-devices that properly
> > declared the used ranges.  The error shown is:
> >
> > fsl-gianfar: probe of soc at ffe00000:ethernet at b0000 failed with error -12
> >
> > Signed-off-by: Martin Hicks <mort at bork.org>
> > ---
> >  arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi |    1 +
> >  arch/powerpc/boot/dts/fsl/pq3-etsec2-1.dtsi |    1 +
> >  arch/powerpc/boot/dts/fsl/pq3-etsec2-2.dtsi |    1 +
> >  3 files changed, 3 insertions(+)
>
> http://patchwork.ozlabs.org/patch/422446/
>
> > diff --git a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> > index 1382fec..d1a6c48 100644
> > --- a/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> > +++ b/arch/powerpc/boot/dts/fsl/pq3-etsec2-0.dtsi
> > @@ -43,6 +43,7 @@ mdio at 24000 {
> >  ethernet at b0000 {
> >       #address-cells = <1>;
> >       #size-cells = <1>;
> > +     ranges = <>;
>
> The " = <>" is usually omitted for empty properties.
>
> -Scott
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>



-- 
Martin Hicks P.Eng.      |         mort at bork.org
Bork Consulting Inc.     |   +1 (613) 266-2296
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150114/b9f3e276/attachment-0001.html>


More information about the Linuxppc-dev mailing list