mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] ARM: dts: i.MX8MP: imx8mp-skov: fix reserved-memory cells
@ 2023-12-04 16:49 Ahmad Fatoum
  2023-12-05  8:16 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-12-04 16:49 UTC (permalink / raw)
  To: barebox; +Cc: ore, Ahmad Fatoum

Build complains about:

 imx8mp-skov.dts:69.3-10: Warning (ranges_format): /reserved-memory:ranges:
 empty "ranges" property but its #size-cells (1) differs from / (2)
 (48 results) [482/38498]

Fix this by changing the cell size to what's in  imx8mp.dtsi's /.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/dts/imx8mp-skov.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
index 27768c61e7e2..3243a41697e4 100644
--- a/arch/arm/dts/imx8mp-skov.dts
+++ b/arch/arm/dts/imx8mp-skov.dts
@@ -64,8 +64,8 @@ led-2 {
 	};
 
 	reserved-memory {
-		#address-cells = <1>;
-		#size-cells = <1>;
+		#address-cells = <2>;
+		#size-cells = <2>;
 		ranges;
 
 		/* Address will be determined by the bootloader */
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH master] ARM: dts: i.MX8MP: imx8mp-skov: fix reserved-memory cells
  2023-12-04 16:49 [PATCH master] ARM: dts: i.MX8MP: imx8mp-skov: fix reserved-memory cells Ahmad Fatoum
@ 2023-12-05  8:16 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-12-05  8:16 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox, ore

On Mon, Dec 04, 2023 at 05:49:38PM +0100, Ahmad Fatoum wrote:
> Build complains about:
> 
>  imx8mp-skov.dts:69.3-10: Warning (ranges_format): /reserved-memory:ranges:
>  empty "ranges" property but its #size-cells (1) differs from / (2)
>  (48 results) [482/38498]
> 
> Fix this by changing the cell size to what's in  imx8mp.dtsi's /.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  arch/arm/dts/imx8mp-skov.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
> index 27768c61e7e2..3243a41697e4 100644
> --- a/arch/arm/dts/imx8mp-skov.dts
> +++ b/arch/arm/dts/imx8mp-skov.dts
> @@ -64,8 +64,8 @@ led-2 {
>  	};
>  
>  	reserved-memory {
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> +		#address-cells = <2>;
> +		#size-cells = <2>;
>  		ranges;
>  
>  		/* Address will be determined by the bootloader */
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-05  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-04 16:49 [PATCH master] ARM: dts: i.MX8MP: imx8mp-skov: fix reserved-memory cells Ahmad Fatoum
2023-12-05  8:16 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox