bcm53xx: fix Linksys EA9500 partitioning master
authorRafał Miłecki <rafal@milecki.pl>
Thu, 11 Mar 2021 08:00:39 +0000 (09:00 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Sat, 13 Mar 2021 08:28:02 +0000 (09:28 +0100)
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/bcm53xx/patches-5.4/305-ARM-dts-BCM5301X-Fix-Linksys-EA9500-partitions.patch [new file with mode: 0644]

diff --git a/target/linux/bcm53xx/patches-5.4/305-ARM-dts-BCM5301X-Fix-Linksys-EA9500-partitions.patch b/target/linux/bcm53xx/patches-5.4/305-ARM-dts-BCM5301X-Fix-Linksys-EA9500-partitions.patch
new file mode 100644 (file)
index 0000000..584896a
--- /dev/null
@@ -0,0 +1,46 @@
+From a6df996156f71a93dafbf59488b024273ba94a64 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Thu, 11 Mar 2021 08:58:57 +0100
+Subject: [PATCH] ARM: dts: BCM5301X: Fix Linksys EA9500 partitions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+---
+ arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+index 1dc0cb0fa..8ae273191 100644
+--- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
++++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+@@ -279,7 +279,7 @@
+ &nandcs {
+       partitions {
+-              compatible = "fixed-partitions";
++              compatible = "linksys,ns-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+@@ -300,15 +300,13 @@
+               };
+               partition@200000 {
+-                      label = "firmware";
+                       reg = <0x0200000 0x01D00000>;
+                       compatible = "brcm,trx";
+               };
+               partition@1F00000 {
+-                      label = "failsafe";
+                       reg = <0x01F00000 0x01D00000>;
+-                      read-only;
++                      compatible = "brcm,trx";
+               };
+               partition@5200000 {
+-- 
+2.26.2
+