DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v7a: wifx-l1: drop fixed partitions node from kernel DT
@ 2023-04-18 12:11 Ahmad Fatoum
  2023-04-18 12:17 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-04-18 12:11 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

Bootloader will fix up its own partition description into the kernel
device tree, so the description in the kernel DT serves no purpose and
is at worst confusing. Drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../platform-v7a/dts/at91-sama5d4_wifx_l1.dts | 26 -------------------
 1 file changed, 26 deletions(-)

diff --git a/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts b/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
index 5332177ad3be..58de3e9c6c72 100644
--- a/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
+++ b/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
@@ -272,32 +272,6 @@ rtc_internal: &{/ahb/apb/rtc@fc0686b0} {
 		nand-ecc-mode = "hw";
 		nand-on-flash-bbt;
 		label = "atmel_nand";
-
-		partitions {
-			compatible = "fixed-partitions";
-			#address-cells = <1>;
-			#size-cells = <1>;
-
-			at91bootstrap@0 {
-				label = "at91bootstrap";
-				reg = <0x0 0x40000>;
-			};
-
-			uboot@40000 {
-				label = "uboot";
-				reg = <0x40000 0xC0000>;
-			};
-
-			env_nand: uboot-env@100000 {
-				label = "uboot-env";
-				reg = <0x100000 0x80000>;
-			};
-
-			ubi@180000 {
-				label = "ubi";
-				reg = <0x180000 0x3FE00000>;
-			};
-		};
 	};
 };
 
-- 
2.39.2




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

* Re: [DistroKit] [PATCH] v7a: wifx-l1: drop fixed partitions node from kernel DT
  2023-04-18 12:11 [DistroKit] [PATCH] v7a: wifx-l1: drop fixed partitions node from kernel DT Ahmad Fatoum
@ 2023-04-18 12:17 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2023-04-18 12:17 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit

On Tue, Apr 18, 2023 at 02:11:26PM +0200, Ahmad Fatoum wrote:
> Bootloader will fix up its own partition description into the kernel
> device tree, so the description in the kernel DT serves no purpose and
> is at worst confusing. Drop it.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  .../platform-v7a/dts/at91-sama5d4_wifx_l1.dts | 26 -------------------
>  1 file changed, 26 deletions(-)

Applied.

> diff --git a/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts b/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
> index 5332177ad3be..58de3e9c6c72 100644
> --- a/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
> +++ b/configs/platform-v7a/dts/at91-sama5d4_wifx_l1.dts
> @@ -272,32 +272,6 @@ rtc_internal: &{/ahb/apb/rtc@fc0686b0} {
>  		nand-ecc-mode = "hw";
>  		nand-on-flash-bbt;
>  		label = "atmel_nand";
> -
> -		partitions {
> -			compatible = "fixed-partitions";
> -			#address-cells = <1>;
> -			#size-cells = <1>;
> -
> -			at91bootstrap@0 {
> -				label = "at91bootstrap";
> -				reg = <0x0 0x40000>;
> -			};
> -
> -			uboot@40000 {
> -				label = "uboot";
> -				reg = <0x40000 0xC0000>;
> -			};
> -
> -			env_nand: uboot-env@100000 {
> -				label = "uboot-env";
> -				reg = <0x100000 0x80000>;
> -			};
> -
> -			ubi@180000 {
> -				label = "ubi";
> -				reg = <0x180000 0x3FE00000>;
> -			};
> -		};
>  	};
>  };
>  
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 12:11 [DistroKit] [PATCH] v7a: wifx-l1: drop fixed partitions node from kernel DT Ahmad Fatoum
2023-04-18 12:17 ` Robert Schwebel

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