diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-02-28 05:13:35 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-03-01 03:42:40 +0300 |
commit | c08be1ad96ccdb7df63c7c9146ce1808bec20d2f (patch) | |
tree | aab14b1600daf6102dc71994723fb4a9511747e6 /arch | |
parent | 8efaff50f1a6dba74aa8a2a47dd5962fb098021b (diff) | |
download | linux-c08be1ad96ccdb7df63c7c9146ce1808bec20d2f.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx51-zii-rdu1.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-tx53.dtsi | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts index aa36204f917f..14f4d57ffd31 100644 --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts @@ -52,8 +52,8 @@ }; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory@90000000 { + reg = <0x90000000 0>; }; aliases { diff --git a/arch/arm/boot/dts/imx53-tx53.dtsi b/arch/arm/boot/dts/imx53-tx53.dtsi index e77dd0a4e1b9..69a2af7d6c11 100644 --- a/arch/arm/boot/dts/imx53-tx53.dtsi +++ b/arch/arm/boot/dts/imx53-tx53.dtsi @@ -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 { |