005-linksys_hardcode_nand_ecc_settings.patch 547 B

1234567891011121314151617
  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. Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
  5. --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
  6. +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
  7. @@ -185,6 +185,8 @@
  8. /* 128MiB or 256MiB */
  9. status = "okay";
  10. num-cs = <1>;
  11. + nand-ecc-strength = <4>;
  12. + nand-ecc-step-size = <512>;
  13. marvell,nand-keep-config;
  14. marvell,nand-enable-arbiter;
  15. nand-on-flash-bbt;