[PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices
Rosen Penev
rosenp at gmail.com
Fri Dec 4 19:54:36 EST 2020
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.
Signed-off-by: Imre Kaloz <kaloz at openwrt.org>
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index 827e82be2201..fb9c8a0b241c 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -148,6 +148,8 @@ nand: nand at 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;
};
--
2.28.0
More information about the linux-arm-kernel
mailing list