[PATCH 2/2] ARM: dts: da850-lcdk: add unit name for memory node
David Lechner
david at lechnology.com
Tue Apr 17 09:55:38 PDT 2018
On 04/17/2018 05:01 AM, Sekhar Nori wrote:
> Add unit name for memory node to squash the W=1 warning:
>
> arch/arm/boot/dts/da850-lcdk.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
>
> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
> ---
> arch/arm/boot/dts/da850-lcdk.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
> index a1f4d6d5a569..e80839bb071b 100644
> --- a/arch/arm/boot/dts/da850-lcdk.dts
> +++ b/arch/arm/boot/dts/da850-lcdk.dts
> @@ -21,7 +21,7 @@
> stdout-path = "serial2:115200n8";
> };
>
> - memory {
> + memory at c0000000 {
> device_type = "memory";
Should we drop `device_type = "memory";` since it is now specified
in da850.dtsi?
> reg = <0xc0000000 0x08000000>;
I wouldn't mind a comment that says that this is 128MiB. The number
is too big for me to do the hex in my head. :-)
> };
>
More information about the linux-arm-kernel
mailing list