mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme
@ 2022-07-08  6:46 Alexander Shiyan
  2022-07-11 10:35 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2022-07-08  6:46 UTC (permalink / raw)
  To: barebox; +Cc: Alexander Shiyan

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 arch/arm/dts/am335x-myirtech-myd.dts | 35 +++++++---------------------
 1 file changed, 8 insertions(+), 27 deletions(-)

diff --git a/arch/arm/dts/am335x-myirtech-myd.dts b/arch/arm/dts/am335x-myirtech-myd.dts
index 1ea0f2a440..54050816fc 100644
--- a/arch/arm/dts/am335x-myirtech-myd.dts
+++ b/arch/arm/dts/am335x-myirtech-myd.dts
@@ -22,33 +22,14 @@
 
 };
 
-&nand0 {
-	/delete-node/ partition@0;
-	/delete-node/ partition@20000;
-
-	nand_parts: partitions {
-		compatible = "fixed-partitions";
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		partition@0 {
-			label = "MLO";
-			reg = <0x00000 0x20000>;
-		};
-
-		partition@80000 {
-			label = "boot";
-			reg = <0x80000 0x100000>;
-		};
-
-		nand_environment: partition@180000 {
-			label = "env";
-			reg = <0x180000 0x40000>;
-		};
+&nand_parts {
+	nand_environment: partition@180000 {
+		label = "env";
+		reg = <0x180000 0x40000>;
+	};
 
-		partition@1c0000 {
-			label = "system";
-			reg = <0x1c0000 0>;
-		};
+	partition@1c0000 {
+		label = "system";
+		reg = <0x1c0000 0>;
 	};
 };
-- 
2.32.0




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

* Re: [PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme
  2022-07-08  6:46 [PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme Alexander Shiyan
@ 2022-07-11 10:35 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-07-11 10:35 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Fri, Jul 08, 2022 at 09:46:46AM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
> ---
>  arch/arm/dts/am335x-myirtech-myd.dts | 35 +++++++---------------------
>  1 file changed, 8 insertions(+), 27 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/am335x-myirtech-myd.dts b/arch/arm/dts/am335x-myirtech-myd.dts
> index 1ea0f2a440..54050816fc 100644
> --- a/arch/arm/dts/am335x-myirtech-myd.dts
> +++ b/arch/arm/dts/am335x-myirtech-myd.dts
> @@ -22,33 +22,14 @@
>  
>  };
>  
> -&nand0 {
> -	/delete-node/ partition@0;
> -	/delete-node/ partition@20000;
> -
> -	nand_parts: partitions {
> -		compatible = "fixed-partitions";
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -
> -		partition@0 {
> -			label = "MLO";
> -			reg = <0x00000 0x20000>;
> -		};
> -
> -		partition@80000 {
> -			label = "boot";
> -			reg = <0x80000 0x100000>;
> -		};
> -
> -		nand_environment: partition@180000 {
> -			label = "env";
> -			reg = <0x180000 0x40000>;
> -		};
> +&nand_parts {
> +	nand_environment: partition@180000 {
> +		label = "env";
> +		reg = <0x180000 0x40000>;
> +	};
>  
> -		partition@1c0000 {
> -			label = "system";
> -			reg = <0x1c0000 0>;
> -		};
> +	partition@1c0000 {
> +		label = "system";
> +		reg = <0x1c0000 0>;
>  	};
>  };
> -- 
> 2.32.0
> 
> 
> 

-- 
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:[~2022-07-11 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08  6:46 [PATCH] ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme Alexander Shiyan
2022-07-11 10:35 ` Sascha Hauer

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