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>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Roger Pueyo Centelles 2020-08-31 15:15:15 +02:00 committed by maurerr
parent e7e5f03f60
commit e72199a13f

View File

@ -122,13 +122,13 @@
read-only;
};
partition@10000 {
label = "bootloader2";
reg = <0x10000 0x0>;
read-only;
soft_config {
};
soft_config {
partition@10000 {
label = "bootloader2";
reg = <0x10000 0x10000>;
read-only;
};
};
};