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

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 29 03:35:18 PDT 2022


xback pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/86fb287ad564e344d9630d8235104da144406d08

commit 86fb287ad564e344d9630d8235104da144406d08
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>
---
 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 a1bb29b0f3..7cc4bb689c 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