Skip to contentSkip to conversation

ARM: dts: armada-385-linksys: fix usage with newer devices

PATCH In review Rosen Penev 2 participants 2 messages Dec 5, 2020 – Jan 29, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armada-385-linksys: fix usage with newer devices

Newer Linksys boards might come with a Winbond W29N02GV which can be configured in different ways. Make sure we configure it the same way as the older chips so everything keeps working.

---
 arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/armada-385-linksys.dtsi +2 -0
index 827e82be2201..fb9c8a0b241c 100644
@@ -148,6 +148,8 @@ nand: nand@0 {
 		reg = <0>;
 		label = "pxa3xx_nand-0";
 		nand-rb = <0>;
+		nand-ecc-strength = <4>;
+		nand-ecc-step-size = <512>;
 		marvell,nand-keep-config;
 		nand-on-flash-bbt;
 	};
Signature · 7 lines
2.28.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

Hi Rosen,

Quoted 6 lines

Newer Linksys boards might come with a Winbond W29N02GV which can be configured in different ways. Make sure we configure it the same way as the older chips so everything keeps working.

Applied on mvebu/dt

Thanks,

Gregory

Quoted 20 lines
---
 arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/armada-385-linksys.dtsi +2 -0
index 827e82be2201..fb9c8a0b241c 100644
@@ -148,6 +148,8 @@ nand: nand@0 {
 		reg = <0>;
 		label = "pxa3xx_nand-0";
 		nand-rb = <0>;
+		nand-ecc-strength = <4>;
+		nand-ecc-step-size = <512>;
 		marvell,nand-keep-config;
 		nand-on-flash-bbt;
 	};
Signature · 1 line
2.28.0
Signature · 8 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel