Skip to contentSkip to conversation

ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap

PATCH New Peter Korsgaard 2 participants 2 messages Jun 16, 2017 – Jun 17, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap

The "test" and "conf" nand partitions partly overlap:

Creating 6 MTD partitions on "orion_nand":
0x000000000000-0x000000090000 : "uboot"
0x000000090000-0x0000000d4000 : "env"
0x0000000d4000-0x0000000f8000 : "test"
0x0000000f4000-0x0000004f4000 : "conf"

That is unlikely to be desired, and not matching the partition map used in u-boot - So adjust the test partition size to fix this.

---
 arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/kirkwood-openblocks_a6.dts +1 -1
index 94e49f32d5f9..c75da5f0ca48 100644
@@ -141,7 +141,7 @@
 
 	partition at d4000 {
 		label = "test";
-		reg = <0xd4000 0x24000>;
+		reg = <0xd4000 0x20000>;
 	};
 
 	partition at f4000 {
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap

Hi Peter,

Quoted 8 lines · Peter Korsgaard

The "test" and "conf" nand partitions partly overlap:

Creating 6 MTD partitions on "orion_nand":
0x000000000000-0x000000090000 : "uboot"
0x000000090000-0x0000000d4000 : "env"
0x0000000d4000-0x0000000f8000 : "test"
0x0000000f4000-0x0000004f4000 : "conf"

Quoted 4 lines

That is unlikely to be desired, and not matching the partition map used in u-boot - So adjust the test partition size to fix this.

Applied on mvebu/fixes

Thanks,

Gregory

Quoted 20 lines
---
 arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/kirkwood-openblocks_a6.dts +1 -1
index 94e49f32d5f9..c75da5f0ca48 100644
@@ -141,7 +141,7 @@
 
 	partition at d4000 {
 		label = "test";
-		reg = <0xd4000 0x24000>;
+		reg = <0xd4000 0x20000>;
 	};
 
 	partition at f4000 {
Signature · 1 line
2.11.0
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com