]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: imx28-lwe: Fix partitions definitions
authorLukasz Majewski <lukma@denx.de>
Mon, 2 Sep 2024 11:46:50 +0000 (13:46 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 3 Sep 2024 08:23:20 +0000 (16:23 +0800)
The SPI-NOR memory layout has evolved during time lifetime of the
device - for example special partitions to keep track of booted devices
for A/B booting scheme were added.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi

index 69fcb0dde9402696755f48863bebdb3d372375f0..a954fef8bd8ef387299cf880ab2e086cde4677ac 100644 (file)
                                reg = <0x90000 0x10000>;
                        };
 
-                       partition@100000 {
-                               label = "kernel";
-                               reg = <0x100000 0x400000>;
+                       partition@a0000 {
+                               label = "rescue";
+                               reg = <0xa0000 0xf40000>;
                        };
 
-                       partition@500000 {
-                               label = "swupdate";
-                               reg = <0x500000 0x800000>;
+                       partition@fe0000 {
+                               /* 1st sector for SPL boot img source data */
+                               label = "spl-boot-data1";
+                               reg = <0xfe0000 0x10000>;
+                       };
+
+                       partition@ff0000 {
+                               /* 2nd sector for SPL boot img source data */
+                               label = "spl-boot-data2";
+                               reg = <0xff0000 0x10000>;
                        };
                };
        };