ARM: dts: imx6: Pass memory unit-adress
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: imx6: Pass memory unit-adress
From: Fabio Estevam <[email protected]>
Pass the memory unit-adress to fix the following build warnings with W=1:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
There are cases where dts passes an empty memory node, which will be filled by the bootloader. Passing the memory base address still allows the bootloader to fill the memory size.
--- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 4 ++-- arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dts | 4 ++-- arch/arm/boot/dts/imx6dl-ts4900.dts | 4 ++-- arch/arm/boot/dts/imx6dl-ts7970.dts | 4 ++-- arch/arm/boot/dts/imx6q-dfi-fs700-m60.dts | 4 ++-- arch/arm/boot/dts/imx6q-h100.dts | 4 ++-- arch/arm/boot/dts/imx6q-novena.dts | 4 ++-- arch/arm/boot/dts/imx6q-ts4900.dts | 4 ++-- arch/arm/boot/dts/imx6q-ts7970.dts | 4 ++-- arch/arm/boot/dts/imx6q-zii-rdu2.dts | 4 ++-- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-tx6.dtsi | 4 ++-- arch/arm/boot/dts/imx6qp-zii-rdu2.dts | 4 ++-- arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 4 ++-- arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 2 +- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 2 +- 19 files changed, 36 insertions(+), 36 deletions(-)
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +2 -2
@@ -54,8 +54,8 @@ "fsl,imx6dl"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; aliases {
arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dts +2 -2
@@ -22,7 +22,7 @@ compatible = "dfi,fs700-m60-6dl", "dfi,fs700e-m60", "fsl,imx6dl"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6dl-ts4900.dts +2 -2
@@ -48,7 +48,7 @@ compatible = "technologic,imx6dl-ts4900", "fsl,imx6dl"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6dl-ts7970.dts +2 -2
@@ -49,7 +49,7 @@ compatible = "technologic,imx6dl-ts7970", "fsl,imx6dl"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6q-dfi-fs700-m60.dts +2 -2
@@ -22,7 +22,7 @@ compatible = "dfi,fs700-m60-6qd", "dfi,fs700e-m60", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6q-h100.dts +2 -2
@@ -50,8 +50,8 @@ compatible = "auvidea,h100", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; aliases {
arch/arm/boot/dts/imx6q-novena.dts +2 -2
@@ -56,8 +56,8 @@ compatible = "kosagi,imx6q-novena", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; chosen {
arch/arm/boot/dts/imx6q-ts4900.dts +2 -2
@@ -48,8 +48,8 @@ compatible = "technologic,imx6q-ts4900", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6q-ts7970.dts +2 -2
@@ -49,8 +49,8 @@ compatible = "technologic,imx6q-ts7970", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6q-zii-rdu2.dts +2 -2
@@ -49,7 +49,7 @@ compatible = "zii,imx6q-zii-rdu2", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6qdl-apalis.dtsi +2 -2
@@ -48,8 +48,8 @@ compatible = "toradex,apalis_imx6q", "fsl,imx6q"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; backlight: backlight {
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi +2 -2
@@ -43,8 +43,8 @@ / { /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; ir_recv: ir-receiver {
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi +2 -2
@@ -41,8 +41,8 @@ / { /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; chosen {
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +2 -2
@@ -41,8 +41,8 @@ / { /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; chosen {
arch/arm/boot/dts/imx6qdl-tx6.dtsi +2 -2
@@ -61,8 +61,8 @@ sdhc1 = &usdhc2; }; - memory { - reg = <0 0>; /* will be filled by U-Boot */ + memory at 10000000 { + reg = <0x10000000 0>; /* will be filled by U-Boot */ }; clocks {
arch/arm/boot/dts/imx6qp-zii-rdu2.dts +2 -2
@@ -49,7 +49,7 @@ compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp"; /* Will be filled by the bootloader */ - memory { - reg = <0 0>; + memory at 10000000 { + reg = <0x10000000 0>; }; };
arch/arm/boot/dts/imx6ul-tx6ul.dtsi +2 -2
@@ -70,8 +70,8 @@ stdout-path = &uart1; }; - memory { - reg = <0 0>; /* will be filled by U-Boot */ + memory at 80000000 { + reg = <0x80000000 0>; /* will be filled by U-Boot */ }; clocks {
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi +1 -1
@@ -6,7 +6,7 @@ #include "imx6ull-colibri.dtsi" / { - memory { + memory at 80000000 { reg = <0x80000000 0x10000000>; }; };
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi +1 -1
@@ -6,7 +6,7 @@ #include "imx6ull-colibri.dtsi" / { - memory { + memory at 80000000 { reg = <0x80000000 0x20000000>; };
Signature · 1 line
2.7.4
PATCH 1/1 ARM: dts: imx6: Pass memory unit-adress
Hi,
Quoted 33 lines · On Thu, 22 Feb 2018 14:16:35 -0300 Fabio Estevam wrote:
From: Fabio Estevam <[email protected]>
Pass the memory unit-adress to fix the following build warnings with W=1:
Warning (
unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit nameThere are cases where dts passes an empty memory node, 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 <[email protected]>--- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 4 ++-- arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dts | 4 ++-- arch/arm/boot/dts/imx6dl-ts4900.dts | 4 ++-- arch/arm/boot/dts/imx6dl-ts7970.dts | 4 ++-- arch/arm/boot/dts/imx6q-dfi-fs700-m60.dts | 4 ++-- arch/arm/boot/dts/imx6q-h100.dts | 4 ++-- arch/arm/boot/dts/imx6q-novena.dts | 4 ++-- arch/arm/boot/dts/imx6q-ts4900.dts | 4 ++-- arch/arm/boot/dts/imx6q-ts7970.dts | 4 ++-- arch/arm/boot/dts/imx6q-zii-rdu2.dts | 4 ++-- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-tx6.dtsi | 4 ++-- arch/arm/boot/dts/imx6qp-zii-rdu2.dts | 4 ++-- arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 4 ++-- arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 2 +- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 2 +- 19 files changed, 36 insertions(+), 36 deletions(-)
[...]
Quoted 15 lines
arch/arm/boot/dts/imx6qdl-tx6.dtsi +2
-2@@ -61,8 +61,8 @@ sdhc1 = &usdhc2; }; - memory { - reg = <0 0>; /* will be filled by U-Boot */ + memory at 10000000 { + reg = <0x10000000 0>; /* will be filled by U-Boot */ }; clocks {
[...]
Quoted 6 lines
arch/arm/boot/dts/imx6ul-tx6ul.dtsi +0
-0
arch/arm/boot/dts/imx6ul-tx6ul.dtsi line 77
Quoted 10 lines
arch/arm/boot/dts/imx6ul-tx6ul.dtsi +2
-2@@ -70,8 +70,8 @@ stdout-path = &uart1; }; - memory { - reg = <0 0>; /* will be filled by U-Boot */ + memory at 80000000 { + reg = <0x80000000 0>; /* will be filled by U-Boot */ }; clocks {
For those two:
Lothar Wa?mann
Shawn Guo
AppliedPATCH 1/1 ARM: dts: imx6: Pass memory unit-adress
In reply to Fabio EstevamQuoted 11 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Pass the memory unit-adress to fix the following build warnings with W=1:
Warning (
unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit nameThere are cases where dts passes an empty memory node, 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 <[email protected]>
Applied, thanks.