kernel: mtdsplit_uimage: replace "fonfxc" and "sge" parsers

Convert users of the "fonfxc" and "sge" parsers to the generic
"openwrt,uimage", using device specific "openwrt,padding" properties.

Tested-by: Stijn Segers <foss@volatilesystems.org> [DIR-878 A1]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
This commit is contained in:
Bjørn Mork
2021-01-20 18:36:46 +01:00
committed by Petr Štetiar
parent 76ea7a91cf
commit 5ab5bacda2
4 changed files with 16 additions and 89 deletions

View File

@@ -83,7 +83,8 @@
};
partition@50000 {
compatible = "fonfxc,uimage";
compatible = "openwrt,uimage", "denx,uimage";
openwrt,padding = <32>;
label = "firmware";
reg = <0x50000 0xf90000>;
};

View File

@@ -34,7 +34,8 @@
};
partition@60000 {
compatible = "sge,uimage";
compatible = "openwrt,uimage", "denx,uimage";
openwrt,padding = <96>;
label = "firmware";
reg = <0x60000 0xfa0000>;
};

View File

@@ -89,7 +89,8 @@
partition@180000 {
label = "firmware";
compatible = "sge,uimage";
compatible = "openwrt,uimage", "denx,uimage";
openwrt,padding = <96>;
reg = <0x180000 0x2800000>;
};
@@ -101,7 +102,8 @@
partition@4980000 {
label = "firmware2";
compatible = "sge,uimage";
compatible = "openwrt,uimage", "denx,uimage";
openwrt,padding = <96>;
reg = <0x4980000 0x2800000>;
};