summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-04-09 09:50:23 +0200
committerFelix Fietkau <nbd@nbd.name>2018-04-27 15:19:19 +0200
commit1de74df8b9bbaafd147a2380fa306140b79b60d9 (patch)
tree2608f98d6239a058cb8401c7ffd7271f93bd7658 /target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch
parent50b09196282eff24e19541003dfcb248d616006e (diff)
downloadmtk-20170518-1de74df8b9bbaafd147a2380fa306140b79b60d9.zip
mtk-20170518-1de74df8b9bbaafd147a2380fa306140b79b60d9.tar.gz
mtk-20170518-1de74df8b9bbaafd147a2380fa306140b79b60d9.tar.bz2
bcm53xx: drop linux 4.4 and 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch b/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch
deleted file mode 100644
index 77a90c3..0000000
--- a/target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 8ab5f1fbd39c29125403678a0caf0a71046da361 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Mon, 6 Jun 2016 09:43:49 +0200
-Subject: [PATCH 1/2] ARM: BCM5301X: Specify NAND chip select and ECC in
- separated files
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Using separated file with common chip select parameters will allow us
-adding other ECC setups without code duplication.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi | 16 +++++-----------
- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 18 ++++++++++++++++++
- 2 files changed, 23 insertions(+), 11 deletions(-)
- create mode 100644 arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
-
---- a/arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi
-@@ -9,16 +9,10 @@
- * Licensed under the GNU/GPL. See COPYING for details.
- */
-
--/ {
-- nand@18028000 {
-- nandcs@0 {
-- compatible = "brcm,nandcs";
-- reg = <0>;
-- #address-cells = <1>;
-- #size-cells = <1>;
-+#include "bcm5301x-nand-cs0.dtsi"
-
-- nand-ecc-strength = <8>;
-- nand-ecc-step-size = <512>;
-- };
-- };
-+&nandcs {
-+ nand-ecc-algo = "bch";
-+ nand-ecc-strength = <8>;
-+ nand-ecc-step-size = <512>;
- };
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
-@@ -0,0 +1,18 @@
-+/*
-+ * Broadcom Northstar NAND.
-+ *
-+ * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
-+ *
-+ * Licensed under the GNU/GPL. See COPYING for details.
-+ */
-+
-+/ {
-+ nand@18028000 {
-+ nandcs: nandcs@0 {
-+ compatible = "brcm,nandcs";
-+ reg = <0>;
-+ #address-cells = <1>;
-+ #size-cells = <1>;
-+ };
-+ };
-+};