mvebu: Add support for WRT3200ACM with new NAND flash
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.14 / 005-linksys_hardcode_nand_ecc_settings.patch
1 Newer Linksys boards might come with a Winbond W29N02GV which can be
2 configured in different ways. Make sure we configure it the same way
3 as the older chips so everything keeps working.
4
5 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
6
7 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
8 +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
9 @@ -185,6 +185,8 @@
10 /* 128MiB or 256MiB */
11 status = "okay";
12 num-cs = <1>;
13 + nand-ecc-strength = <4>;
14 + nand-ecc-step-size = <512>;
15 marvell,nand-keep-config;
16 marvell,nand-enable-arbiter;
17 nand-on-flash-bbt;