mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 11:39:02 +00:00
f8e57f450d
Two tiny & trivial patches with no regression risk. One simplifies
bcm53xx downstream patch.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 6bcafea2c0
)
35 lines
766 B
Diff
35 lines
766 B
Diff
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Subject: [PATCH] Use "brcm,bcm947xx-cfe-partitions" binding for Broadcom
|
|
partitions
|
|
|
|
---
|
|
|
|
--- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
|
|
@@ -12,6 +12,10 @@
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
+
|
|
+ partitions {
|
|
+ compatible = "brcm,bcm947xx-cfe-partitions";
|
|
+ };
|
|
};
|
|
};
|
|
};
|
|
--- a/arch/arm/boot/dts/bcm5301x.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
|
|
@@ -456,8 +456,11 @@
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <20000000>;
|
|
- linux,part-probe = "ofpart", "bcm47xxpart";
|
|
status = "disabled";
|
|
+
|
|
+ partitions {
|
|
+ compatible = "brcm,bcm947xx-cfe-partitions";
|
|
+ };
|
|
};
|
|
};
|
|
|