aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-12-27 07:01:38 +0100
committerRafał Miłecki <rafal@milecki.pl>2018-12-27 08:28:44 +0100
commitdbbba84ed4f85924e49da220727adf2abaeb3c2a (patch)
treec28b230d99093cb233fb08d5d0cd09fc80c5f31d /target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch
parenteef6bd3393f406f73187a670fa34d5e6a228f9e8 (diff)
downloadupstream-dbbba84ed4f85924e49da220727adf2abaeb3c2a.tar.gz
upstream-dbbba84ed4f85924e49da220727adf2abaeb3c2a.tar.bz2
upstream-dbbba84ed4f85924e49da220727adf2abaeb3c2a.zip
bcm53xx: rename dts backport patches changing their prefixes
Start 03x with 030 instead of 035. It's a trivial change that adds more place for further backports in the 03x space. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit a5d6f2eb76a549af9e5e186042ab6bf2371be725)
Diffstat (limited to 'target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch b/target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch
new file mode 100644
index 0000000000..e397ddd0b2
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch
@@ -0,0 +1,39 @@
+From a05f1e36a57d02374a203719abc5bf2e8c51e125 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Thu, 10 May 2018 23:20:00 +0200
+Subject: [PATCH] ARM: dts: BCM5301X: Switch D-Link DIR-885L to the new
+ partitions syntax
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This new syntax is slightly better designed & uses "compatible" string.
+For details see Documentation/devicetree/bindings/mtd/partition.txt .
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+---
+ arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 12 +++++++++---
+ 1 file changed, 9 insertions(+), 3 deletions(-)
+
+--- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
++++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
+@@ -26,9 +26,15 @@
+
+ nand: nand@18028000 {
+ nandcs@0 {
+- partition@0 {
+- label = "firmware";
+- reg = <0x00000000 0x08000000>;
++ partitions {
++ compatible = "fixed-partitions";
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ partition@0 {
++ label = "firmware";
++ reg = <0x00000000 0x08000000>;
++ };
+ };
+ };
+ };