ramips: specify "firmware" partition format for remaining devices
authorRafał Miłecki <rafal@milecki.pl>
Thu, 13 Dec 2018 16:16:37 +0000 (17:16 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 26 Jan 2019 20:46:33 +0000 (21:46 +0100)
It results in calling the right MTD parser directly instead of trying
them one by one.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
[use the lzma splitter for the AR670W]
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/AR670W.dts
target/linux/ramips/dts/DAP-1522-A1.dts
target/linux/ramips/dts/WCR-1166DS.dts

index 3ee39c1eb75ffdf33d173e591f676ef1e5dcd8ab..6faa8e5f1f3038aa2659bcc2cf697b0a1c2c0b5e 100644 (file)
@@ -39,6 +39,7 @@
                        };
 
                        partition@40000 {
+                               compatible = "lzma";
                                reg = <0x40000 0x3c0000>;
                                label = "firmware";
                        };
index bdd63ea96b808b16d383664a06de7397beca3212..aad706df2e2a51bf53c72f3feb774b10837c8ad0 100644 (file)
@@ -40,6 +40,7 @@
                        };
 
                        partition@40000 {
+                               compatible = "wrg";
                                label = "firmware";
                                reg = <0x40000 0x3a0000>;
                        };
index ca715c8ba5e5a9c0d5962ea8607c5b4eef609282..b8e86e496c9349e7466eb0b38fed7e5f5cbf29ae 100644 (file)
                        };
 
                        partition@50000 {
+                               compatible = "openwrt,trx";
                                label = "firmware";
                                reg = <0x50000 0x7c0000>;
                        };