ath79: mikrotik: add rw soft_config to extra devices
authorJohn Thomson <git@johnthomson.fastmail.com.au>
Tue, 17 May 2022 23:23:14 +0000 (09:23 +1000)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Wed, 29 Jun 2022 10:34:49 +0000 (12:34 +0200)
Linux MTD requires the parent partition be writable for a child
partition to be allowed write permission.

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
target/linux/ath79/dts/ar9344_mikrotik_routerboard-16m-nor.dtsi
target/linux/ath79/dts/qca9558_mikrotik_routerboard-96x.dtsi

index a1bb29b0f31875685f28d6af39d65cb4055f1115..7cc4bb689cd814a6ca9ab46b8f16ec5f9e61aaea 100644 (file)
@@ -18,7 +18,6 @@
                        partition@0 {
                                label = "RouterBoot";
                                reg = <0x0 0x20000>;
-                               read-only;
                                compatible = "mikrotik,routerboot-partitions";
                                #address-cells = <1>;
                                #size-cells = <1>;
index e1de96e40cb2ffbfe4ebce28c03125be3c3ffaad..3cfc40cd86cef11fd99095114e9652942edc0084 100644 (file)
@@ -88,7 +88,6 @@
                        partition@0 {
                                label = "RouterBoot";
                                reg = <0x0 0x20000>;
-                               read-only;
                                compatible = "mikrotik,routerboot-partitions";
                                #address-cells = <1>;
                                #size-cells = <1>;