diff options
author | Bjørn Mork <bjorn@mork.no> | 2021-04-06 11:43:05 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-04-08 09:20:59 +0200 |
commit | 11d24ffe961570533a4fc54a7511d30c17290623 (patch) | |
tree | f0bd5915108b7eb9d988cae94223be71115d1dbd /target/linux/realtek | |
parent | b7154fabf07e870a204a25d8e74472b57e55b040 (diff) | |
download | upstream-11d24ffe961570533a4fc54a7511d30c17290623.tar.gz upstream-11d24ffe961570533a4fc54a7511d30c17290623.tar.bz2 upstream-11d24ffe961570533a4fc54a7511d30c17290623.zip |
realtek: allow writing to "u-boot-env2"
U-Boot uses the "bootpartition" variable stored in
"u-boot-env2" to select the active system partition. Allow
updates to enable system switching from OpenWrt.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'target/linux/realtek')
5 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi index d31eb74001..0d34ca5dc2 100644 --- a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi +++ b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi @@ -61,7 +61,6 @@ partition@f0000 { label = "u-boot-env2"; reg = <0x00f0000 0x0010000>; - read-only; }; partition@100000 { diff --git a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi index c4441ec30e..d61ac3b2b8 100644 --- a/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi +++ b/target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi @@ -79,7 +79,6 @@ partition@50000 { label = "u-boot-env2"; reg = <0x50000 0x10000>; - read-only; }; partition@60000 { label = "jffs"; diff --git a/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts b/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts index 681d699e8a..fdcc01fdac 100644 --- a/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts +++ b/target/linux/realtek/dts/rtl8382_allnet_all-sg8208m.dts @@ -79,7 +79,6 @@ partition@90000 { label = "u-boot-env2"; reg = <0x90000 0x10000>; - read-only; }; partition@a0000 { diff --git a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts index a2ebdad11b..e2f5e7a4c0 100644 --- a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts +++ b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210-10p.dts @@ -77,7 +77,6 @@ partition@c0000 { label = "u-boot-env2"; reg = <0x000c0000 0x40000>; - read-only; }; partition@280000 { label = "firmware"; diff --git a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi index e41c6f9f22..a14738c8a9 100644 --- a/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi +++ b/target/linux/realtek/dts/rtl8382_d-link_dgs-1210.dtsi @@ -61,7 +61,6 @@ partition@c0000 { label = "u-boot-env2"; reg = <0x000c0000 0x40000>; - read-only; }; partition@280000 { label = "firmware"; |