summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2018-02-15 19:57:05 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-02 13:04:38 +0200
commit9dd189d4adc4158e54461b4cbac5ef4e66222a94 (patch)
tree300424f8e8e201a932c4a5144f4b29cfd0fd42c2
parentadfd64ddd62c3e5d709b25e2392abe1945326566 (diff)
downloadmtk-20170518-9dd189d4adc4158e54461b4cbac5ef4e66222a94.zip
mtk-20170518-9dd189d4adc4158e54461b4cbac5ef4e66222a94.tar.gz
mtk-20170518-9dd189d4adc4158e54461b4cbac5ef4e66222a94.tar.bz2
mvebu: Add support for WRT3200ACM with new NAND flash
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@openwrt.org>
-rw-r--r--target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
index ea1af6f..1ed229b 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
@@ -186,6 +186,8 @@
flash@d0000 {
status = "okay";
num-cs = <1>;
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
marvell,nand-keep-config;
marvell,nand-enable-arbiter;
nand-on-flash-bbt;