aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts13
1 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
index 2df8b749df..aabd90ce64 100644
--- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
+++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
@@ -60,12 +60,21 @@
partition@0 {
label = "u-boot";
- reg = <0x0 0xe0000>;
+ reg = <0x0 0x80000>;
read-only;
};
- partition@e0000 {
+ /*
+ * u-boot gets split here while keeping u-boot read-only,
+ * which allows safe usage of fw_setenv
+ */
+ partition@80000 {
label = "u-boot-env";
+ reg = <0x80000 0x60000>;
+ };
+
+ partition@e0000 {
+ label = "nvram";
reg = <0xe0000 0x100000>;
read-only;
};