Skip to contentSkip to conversation

HSD #14014983934: arm64: dts: Update NAND MTD partition for Agilex and Stratix 10

PATCH New [email protected] 1 participant 1 message Nov 15, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HSD #14014983934: arm64: dts: Update NAND MTD partition for Agilex and Stratix 10

From: Sin Hui Kho <[email protected]>

Change NAND flash MTD partition in device tree after implementation of UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root" partition is use for UBI image containing all other components.

---
 .../dts/altera/socfpga_stratix10_socdk_nand.dts    | 24 ++--------------------
 .../boot/dts/intel/socfpga_agilex_socdk_nand.dts   | 20 ++----------------
 2 files changed, 4 insertions(+), 40 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts +2 -22
index c07966740e14..9511f2bf2d25 100644
@@ -119,28 +119,8 @@
 		};
 
 		partition@200000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-
-		partition@240000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-
-		partition@280000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-
-		partition@2280000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-
-		partition@4280000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +2 -18
index 979aa59a6bd0..2327af820cb4 100644
@@ -99,24 +99,8 @@
 			reg = <0 0x200000>;
 		};
 		partition@200000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-		partition@240000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-		partition@280000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-		partition@2280000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-		partition@4280000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
Signature · 1 line
2.13.0