diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-05-12 15:39:12 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-05-12 15:39:50 +0200 |
commit | 3c81d12ec32844a731f37b011b30a3586731f98e (patch) | |
tree | 2defc3e542f4f3cc2bc8c269e9e500e87a483d17 /target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch | |
parent | b07875308476fda1270bd780f95122421fde26d4 (diff) | |
download | upstream-3c81d12ec32844a731f37b011b30a3586731f98e.tar.gz upstream-3c81d12ec32844a731f37b011b30a3586731f98e.tar.bz2 upstream-3c81d12ec32844a731f37b011b30a3586731f98e.zip |
bcm53xx: backport the first bunch of 4.18 BCM5301X patches
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch b/target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch new file mode 100644 index 0000000000..e2fe0be909 --- /dev/null +++ b/target/linux/bcm53xx/patches-4.4/051-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch @@ -0,0 +1,39 @@ +From 0c0d1c90ddc44df70401b7cfff178c41b2f83ffa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> +Date: Wed, 4 Apr 2018 15:14:21 +0200 +Subject: [PATCH] ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed + 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/bcm4708-luxul-xwc-1000.dts | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts ++++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +@@ -26,9 +26,15 @@ + + nand: nand@18028000 { + nandcs@0 { +- partition@0 { +- label = "ubi"; +- reg = <0x00000000 0x08000000>; ++ partitions { ++ compatible = "fixed-partitions"; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ++ partition@0 { ++ label = "ubi"; ++ reg = <0x00000000 0x08000000>; ++ }; + }; + }; + }; |