ath79/mikrotik: fix soft_config location for SXT 5n
authorRoger Pueyo Centelles <[email protected]>
Mon, 31 Aug 2020 13:15:15 +0000 (15:15 +0200)
committerAdrian Schmutzler <[email protected]>
Thu, 17 Sep 2020 21:52:03 +0000 (23:52 +0200)
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 <[email protected]>
Reviewed-by: Thibaut VARĂˆNE <[email protected]>
target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi

index 100976e2c8ddaef98d9cd361c785a13d925995aa..12152777a60b57c968036a7f443269ff198ba78b 100644 (file)
                                        read-only;
                                };
 
+                               soft_config {
+                               };
+
                                partition@10000 {
                                        label = "bootloader2";
-                                       reg = <0x10000 0x0>;
+                                       reg = <0x10000 0x10000>;
                                        read-only;
                                };
-
-                               soft_config {
-                               };
                        };
                };
        };