Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Shawn Guo
c08be1ad 8efaff50

+4 -4
+2 -2
arch/arm/boot/dts/imx51-zii-rdu1.dts
··· 52 52 }; 53 53 54 54 /* Will be filled by the bootloader */ 55 - memory { 56 - reg = <0 0>; 55 + memory@90000000 { 56 + reg = <0x90000000 0>; 57 57 }; 58 58 59 59 aliases {
+2 -2
arch/arm/boot/dts/imx53-tx53.dtsi
··· 50 50 compatible = "karo,tx53", "fsl,imx53"; 51 51 52 52 /* Will be filled by the bootloader */ 53 - memory { 54 - reg = <0 0>; 53 + memory@70000000 { 54 + reg = <0x70000000 0>; 55 55 }; 56 56 57 57 aliases {