diff mbox series

[v3] ARM: dts: imx28-lwe: Fix partitions definitions

Message ID 20240902114652.893272-1-lukma@denx.de (mailing list archive)
State New, archived
Headers show
Series [v3] ARM: dts: imx28-lwe: Fix partitions definitions | expand

Commit Message

Lukasz Majewski Sept. 2, 2024, 11:46 a.m. UTC
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>

---
Changes for v3:
- Split patches
- Modify the subject prefix

Changes for v2:
- Add more descriptive commit message
- Replace e.g. partition@4 with partition@fe0000
- Use lower case letters for HEX offsets descriptions
---
 arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Comments

Shawn Guo Sept. 3, 2024, 7:03 a.m. UTC | #1
On Mon, Sep 02, 2024 at 01:46:50PM +0200, Lukasz Majewski wrote:
> 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>

Applied all, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
index 69fcb0dde940..a954fef8bd8e 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-lwe.dtsi
@@ -133,14 +133,21 @@  partition@90000 {
 				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>;
 			};
 		};
 	};