[PATCH 1/2] ARM: dts: imx6qdl: pfla02: Use upstream som_flash node

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 13 02:12:32 EST 2020


On Thu, Nov 12, 2020 at 01:22:30PM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 52 ++++++++++++-------------
>  1 file changed, 25 insertions(+), 27 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> index d0b056b2f..3eb510d43 100644
> --- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> +++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> @@ -21,7 +21,7 @@
>  
>  		environment-spinor {
>  			compatible = "barebox,environment";
> -			device-path = &flash, "partname:barebox-environment";
> +			device-path = &som_flash, "partname:barebox-environment";
>  			status = "disabled";
>  		};
>  
> @@ -53,32 +53,30 @@
>  
>  /delete-node/ &{/memory at 10000000};
>  
> -&ecspi3 {
> -	flash: flash at 0 {
> -		partitions {
> -			compatible = "fixed-partitions";
> -			#address-cells = <1>;
> -			#size-cells = <1>;
> -
> -			partition at 0 {
> -				label = "barebox";
> -				reg = <0x0 0x100000>;
> -			};
> -
> -			partition at 100000 {
> -				label = "barebox-environment";
> -				reg = <0x100000 0x20000>;
> -			};
> -
> -			partition at 120000 {
> -				label = "oftree";
> -				reg = <0x120000 0x20000>;
> -			};
> -
> -			partition at 140000 {
> -				label = "kernel";
> -				reg = <0x140000 0x0>;
> -			};
> +&som_flash {
> +	partitions {
> +		compatible = "fixed-partitions";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +
> +		partition at 0 {
> +			label = "barebox";
> +			reg = <0x0 0x100000>;
> +		};
> +
> +		partition at 100000 {
> +			label = "barebox-environment";
> +			reg = <0x100000 0x20000>;
> +		};
> +
> +		partition at 120000 {
> +			label = "oftree";
> +			reg = <0x120000 0x20000>;
> +		};
> +
> +		partition at 140000 {
> +			label = "kernel";
> +			reg = <0x140000 0x0>;
>  		};
>  	};
>  };
> -- 
> 2.26.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |



More information about the barebox mailing list