ARM: dts: imx5: Pass the memory unit-address

Pass the memory unit-address to fix the following build warnings with W=1:

arch/arm/boot/dts/imx51-zii-rdu1.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx53-tx53-x03x.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx53-tx53-x13x.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

In theses cases an empty memory node is passed, which will be filled
by the bootloader. Passing the memory base address still allows the
bootloader to fill the memory size.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Fabio Estevam 2018-02-27 23:13:35 -03:00 committed by Shawn Guo
parent 8efaff50f1
commit c08be1ad96
2 changed files with 4 additions and 4 deletions

View File

@ -52,8 +52,8 @@
};
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@90000000 {
reg = <0x90000000 0>;
};
aliases {

View File

@ -50,8 +50,8 @@
compatible = "karo,tx53", "fsl,imx53";
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@70000000 {
reg = <0x70000000 0>;
};
aliases {