ath79: tweak the position of factory partition for wr818
authorRosy Song <rosysong@rosinson.com>
Fri, 7 Dec 2018 03:41:57 +0000 (11:41 +0800)
committerMathias Kresin <dev@kresin.me>
Mon, 31 Dec 2018 15:37:09 +0000 (16:37 +0100)
The 'factory' partition will move to 0x50000-0x60000 in 2019. As
the webserver in bootloader is compatible with different mtdlayout,
all the users still can upgrade firmware whatever on ath79 or ar71xx.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
target/linux/ath79/dts/qca9563_rosinson_wr818.dts

index a2595d8cd51452a48751b387735920a20dd573e2..cf0ec1bfa138986767abd1d1a54bc89412248177 100644 (file)
                                read-only;
                        };
 
-                       partition@50000 {
-                               compatible = "denx,uimage";
-                               label = "firmware";
-                               reg = <0x050000 0xf80000>;
-                       };
-
-                       info: partition@fd0000 {
+                       info: partition@50000 {
                                label = "factory";
-                               reg = <0xfd0000 0x010000>;
+                               reg = <0x050000 0x010000>;
                                read-only;
                        };
 
+                       partition@60000 {
+                               compatible = "denx,uimage";
+                               label = "firmware";
+                               reg = <0x060000 0xf80000>;
+                       };
+
                        art: partition@ff0000 {
                                label = "art";
                                reg = <0xff0000 0x010000>;