ath79: Define firmware partition format to all boards where applicable

Parsing "firmware" partition (to create kernel + rootfs) was implemented
using OpenWrt downstream code enabled by CONFIG_MTD_SPLIT_FIRMWARE. With
recent upstream mtd changes we can do it in a more clean way for DTS
targets. It just requires adding a proper "compatible" string to the
"firmware" partition node.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
v19.07.3_mercusys_ac12_duma
Petr Štetiar 6 years ago committed by Mathias Kresin
parent ffa55386f1
commit bc41fb7efe

@ -209,6 +209,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x610000>;
};

@ -86,6 +86,7 @@
};
partition@50000 {
compatible = "netgear,uimage";
reg = <0x50000 0x3a0000>;
label = "firmware";
};

@ -106,6 +106,7 @@
};
firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};

@ -68,6 +68,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};

@ -81,6 +81,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x750000>;
};

@ -60,6 +60,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x750000>;
};

@ -125,6 +125,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};

@ -93,6 +93,7 @@
};
partition@1 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3D0000>;
};

@ -124,6 +124,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7D0000>;
};

@ -131,6 +131,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};

@ -108,6 +108,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};

@ -109,6 +109,7 @@
};
partition@70000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x070000 0x780000>;
};

@ -89,6 +89,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};

@ -112,6 +112,7 @@
};
firmware@50000 {
compatible = "denx,uimage";
reg = <0x50000 0xfa0000>;
};

@ -70,6 +70,7 @@
};
firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x7d0000>;
label = "firmware";
};

@ -137,6 +137,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3c0000>;
};

@ -128,6 +128,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};

@ -67,6 +67,7 @@
};
firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};

@ -107,6 +107,7 @@
};
firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};

@ -128,6 +128,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x07a0000>;
};

@ -146,6 +146,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};

@ -64,6 +64,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xf60000>;
};

@ -84,6 +84,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x760000>;
};

@ -116,6 +116,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x0fa0000>;
};

@ -105,6 +105,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x07a0000>;
};

@ -147,6 +147,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};

@ -31,6 +31,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};

@ -113,6 +113,7 @@
};
partition@60000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x060000 0xfa0000>;
};

@ -102,6 +102,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};

@ -121,6 +121,7 @@
};
partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x850000 0x7a0000>;
};

@ -36,6 +36,7 @@
};
firmware@20000 {
compatible = "tplink,firmware";
reg = <0x020000 0x7d0000>;
};

@ -168,6 +168,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};

@ -123,6 +123,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};

@ -101,6 +101,7 @@
};
partition@90000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x090000 0xf60000>;
};

@ -84,6 +84,7 @@
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xf80000>;
};

@ -150,6 +150,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x5e0000>;
};

@ -136,6 +136,7 @@
};
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0xf30000>;
};

Loading…
Cancel
Save