summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-02-01 12:42:42 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-02-01 12:42:42 +0000
commitf188b6d5128db00d95076554a10d36d2b56eec0b (patch)
tree7e56d26bd59b0f81b649c8658156217053daf994 /target/linux/bcm53xx
parent701dba093fd0f6f1e3308159aaa8c4d03be800b3 (diff)
downloadmtk-20170518-f188b6d5128db00d95076554a10d36d2b56eec0b.zip
mtk-20170518-f188b6d5128db00d95076554a10d36d2b56eec0b.tar.gz
mtk-20170518-f188b6d5128db00d95076554a10d36d2b56eec0b.tar.bz2
bcm53xx: fix NAND parameters on DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48604
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/patches-4.4/360-ARM-BCM5301X-Fix-NAND-flash-parameters-for-D-Link-DI.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/360-ARM-BCM5301X-Fix-NAND-flash-parameters-for-D-Link-DI.patch b/target/linux/bcm53xx/patches-4.4/360-ARM-BCM5301X-Fix-NAND-flash-parameters-for-D-Link-DI.patch
new file mode 100644
index 0000000..e114df6
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/360-ARM-BCM5301X-Fix-NAND-flash-parameters-for-D-Link-DI.patch
@@ -0,0 +1,39 @@
+From 842f2d4df49fccc31424f9bc6bcc45d1e1d2fda7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
+Date: Mon, 1 Feb 2016 12:37:00 +0100
+Subject: [PATCH] ARM: BCM5301X: Fix NAND flash parameters for D-Link DIR-885L
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+It doesn't use 8-bit ECC strength.
+
+Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+---
+ arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
++++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
+@@ -10,7 +10,6 @@
+ /dts-v1/;
+
+ #include "bcm4708.dtsi"
+-#include "bcm5301x-nand-cs0-bch8.dtsi"
+
+ / {
+ compatible = "dlink,dir-885l", "brcm,bcm47094", "brcm,bcm4708";
+@@ -27,6 +26,13 @@
+
+ nand: nand@18028000 {
+ nandcs@0 {
++ compatible = "brcm,nandcs";
++ reg = <0>;
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ linux,part-probe = "ofpart", "bcm47xxpart";
++
+ partition@0 {
+ label = "firmware";
+ reg = <0x00000000 0x08000000>;