aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>2020-08-31 15:15:15 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-17 23:52:03 +0200
commite6b42386bac5678bcd7b71f041253cb759d55bd3 (patch)
treeb29ba23ba0472989ec6d7c451baba8bce2a65bc9 /target/linux/ath79
parenta594a5a33067b1d44d77777d78e63e6b08d485ab (diff)
downloadupstream-e6b42386bac5678bcd7b71f041253cb759d55bd3.tar.gz
upstream-e6b42386bac5678bcd7b71f041253cb759d55bd3.tar.bz2
upstream-e6b42386bac5678bcd7b71f041253cb759d55bd3.zip
ath79/mikrotik: fix soft_config location for SXT 5n
The soft_config partition for these devices lays between 0xe000 and 0xf000 (as correctly detected by the RouterBoard platform driver), before the bootloader2 partition which starts at 0x10000. This commit correctly sorts the partitions, fixing the parsing error. Fixes: FS#3314 Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> Reviewed-by: Thibaut VARĂˆNE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
index 100976e2c8..12152777a6 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
@@ -122,14 +122,14 @@
read-only;
};
+ soft_config {
+ };
+
partition@10000 {
label = "bootloader2";
- reg = <0x10000 0x0>;
+ reg = <0x10000 0x10000>;
read-only;
};
-
- soft_config {
- };
};
};
};