Subject: dtc: imx6 warnings on unit address format errors

Hi folks,


I'm getting lots of warnings from dtc about unit address format errors:

For example in imx6q.dtsi:

ocram: sram@00900000 {

The node name's address part has leading zeros which dtc doesn't like.
It doesn't seem to have a big influence (yet ?), but I'd guess this
warning is there for a reason.

Should we fix this ?


--mtx


2017-09-10 16:09:57

by Fabio Estevam

[permalink] [raw]
Subject: Re: dtc: imx6 warnings on unit address format errors

On Sun, Sep 10, 2017 at 1:06 PM, Enrico Weigelt, metux IT consult
<[email protected]> wrote:
> Hi folks,
>
>
> I'm getting lots of warnings from dtc about unit address format errors:
>
> For example in imx6q.dtsi:
>
> ocram: sram@00900000 {
>
> The node name's address part has leading zeros which dtc doesn't like.
> It doesn't seem to have a big influence (yet ?), but I'd guess this
> warning is there for a reason.
>
> Should we fix this ?

Yes, feel free to submit a patch that fixes these warnings for all
imx6 dts/dtsi files.

Thanks