[openwrt/openwrt] ath79: mikrotik: add rw soft_config to extra devices

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 30 01:11:52 PDT 2022


xback pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/fbbc127f42b7c08aadb29da8a1534ea4ebc16241

commit fbbc127f42b7c08aadb29da8a1534ea4ebc16241
Author: John Thomson <git at johnthomson.fastmail.com.au>
AuthorDate: Wed May 18 09:23:14 2022 +1000

    ath79: mikrotik: add rw soft_config to extra devices
    
    Linux MTD requires the parent partition be writable for a child
    partition to be allowed write permission.
    
    Signed-off-by: John Thomson <git at johnthomson.fastmail.com.au>
    (cherry picked from commit 86fb287ad564e344d9630d8235104da144406d08)
---
 target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi | 1 -
 target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi
index 4bf0731b1a..840bc3b436 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi
@@ -18,7 +18,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi
index e1de96e40c..3cfc40cd86 100644
--- a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi
+++ b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi
@@ -88,7 +88,6 @@
 			partition at 0 {
 				label = "RouterBoot";
 				reg = <0x0 0x20000>;
-				read-only;
 				compatible = "mikrotik,routerboot-partitions";
 				#address-cells = <1>;
 				#size-cells = <1>;




More information about the lede-commits mailing list