diff mbox series

[1/3] ARM: dts: stm32: Fix partition node name for stm32mp157c-ev1-u-boot

Message ID 20240308135009.2621719-1-patrice.chotard@foss.st.com
State Accepted
Commit 08ceeaa85dcb2e9ddafadd268d268f6afb6e84ae
Delegated to: Patrick Delaunay
Headers show
Series [1/3] ARM: dts: stm32: Fix partition node name for stm32mp157c-ev1-u-boot | expand

Commit Message

Patrice CHOTARD March 8, 2024, 1:50 p.m. UTC
Fix flash@0 and nand@0 partition node name with correct offset.

Fixes: e91d3c61767b ("arm: dts: stm32: Add partitions in flash0 and nand
node for stm32mp15xx-ev1")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Patrick Delaunay April 17, 2024, 8:59 a.m. UTC | #1
Hi,

On 3/8/24 14:50, Patrice Chotard wrote:
> Fix flash@0 and nand@0 partition node name with correct offset.
>
> Fixes: e91d3c61767b ("arm: dts: stm32: Add partitions in flash0 and nand
> node for stm32mp15xx-ev1")
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
> index 139940bd5d4..3515347e91d 100644
> --- a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
> @@ -33,11 +33,11 @@
>   			label = "fsbl1";
>   			reg = <0x00000000 0x00040000>;
>   		};
> -		partition@80000 {
> +		partition@40000 {
>   			label = "fsbl2";
>   			reg = <0x00040000 0x00040000>;
>   		};
> -		partition@100000 {
> +		partition@80000 {
>   			label = "ssbl";
>   			reg = <0x00080000 0x00200000>;
>   		};
> @@ -58,7 +58,7 @@
>   			label = "fsbl2";
>   			reg = <0x00040000 0x00040000>;
>   		};
> -		partition@100000 {
> +		partition@80000 {
>   			label = "fip";
>   			reg = <0x00080000 0x00400000>;
>   		};
> @@ -112,7 +112,7 @@
>   					label = "fip2";
>   					reg = <0x00600000 0x00400000>;
>   				};
> -				partition@1200000 {
> +				partition@a00000 {
>   					label = "UBI";
>   					reg = <0x00a00000 0x3f600000>;
>   				};


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
Patrice CHOTARD April 19, 2024, 12:33 p.m. UTC | #2
On 4/17/24 10:59, Patrick DELAUNAY wrote:
> Hi,
> 
> On 3/8/24 14:50, Patrice Chotard wrote:
>> Fix flash@0 and nand@0 partition node name with correct offset.
>>
>> Fixes: e91d3c61767b ("arm: dts: stm32: Add partitions in flash0 and nand
>> node for stm32mp15xx-ev1")
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
>> index 139940bd5d4..3515347e91d 100644
>> --- a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
>> @@ -33,11 +33,11 @@
>>               label = "fsbl1";
>>               reg = <0x00000000 0x00040000>;
>>           };
>> -        partition@80000 {
>> +        partition@40000 {
>>               label = "fsbl2";
>>               reg = <0x00040000 0x00040000>;
>>           };
>> -        partition@100000 {
>> +        partition@80000 {
>>               label = "ssbl";
>>               reg = <0x00080000 0x00200000>;
>>           };
>> @@ -58,7 +58,7 @@
>>               label = "fsbl2";
>>               reg = <0x00040000 0x00040000>;
>>           };
>> -        partition@100000 {
>> +        partition@80000 {
>>               label = "fip";
>>               reg = <0x00080000 0x00400000>;
>>           };
>> @@ -112,7 +112,7 @@
>>                       label = "fip2";
>>                       reg = <0x00600000 0x00400000>;
>>                   };
>> -                partition@1200000 {
>> +                partition@a00000 {
>>                       label = "UBI";
>>                       reg = <0x00a00000 0x3f600000>;
>>                   };
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
> 
Applied on u-boot-stm32/master
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
index 139940bd5d4..3515347e91d 100644
--- a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
@@ -33,11 +33,11 @@ 
 			label = "fsbl1";
 			reg = <0x00000000 0x00040000>;
 		};
-		partition@80000 {
+		partition@40000 {
 			label = "fsbl2";
 			reg = <0x00040000 0x00040000>;
 		};
-		partition@100000 {
+		partition@80000 {
 			label = "ssbl";
 			reg = <0x00080000 0x00200000>;
 		};
@@ -58,7 +58,7 @@ 
 			label = "fsbl2";
 			reg = <0x00040000 0x00040000>;
 		};
-		partition@100000 {
+		partition@80000 {
 			label = "fip";
 			reg = <0x00080000 0x00400000>;
 		};
@@ -112,7 +112,7 @@ 
 					label = "fip2";
 					reg = <0x00600000 0x00400000>;
 				};
-				partition@1200000 {
+				partition@a00000 {
 					label = "UBI";
 					reg = <0x00a00000 0x3f600000>;
 				};