From acd790c15050acd83b38cf65b7b4dbf7832ddb75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 13 Dec 2018 17:16:37 +0100 Subject: [PATCH] ramips: specify "firmware" partition format for remaining devices MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It results in calling the right MTD parser directly instead of trying them one by one. Signed-off-by: Rafał Miłecki [use the lzma splitter for the AR670W] Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/AR670W.dts | 1 + target/linux/ramips/dts/DAP-1522-A1.dts | 1 + target/linux/ramips/dts/WCR-1166DS.dts | 1 + 3 files changed, 3 insertions(+) diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts index 3ee39c1eb7..6faa8e5f1f 100644 --- a/target/linux/ramips/dts/AR670W.dts +++ b/target/linux/ramips/dts/AR670W.dts @@ -39,6 +39,7 @@ }; partition@40000 { + compatible = "lzma"; reg = <0x40000 0x3c0000>; label = "firmware"; }; diff --git a/target/linux/ramips/dts/DAP-1522-A1.dts b/target/linux/ramips/dts/DAP-1522-A1.dts index bdd63ea96b..aad706df2e 100644 --- a/target/linux/ramips/dts/DAP-1522-A1.dts +++ b/target/linux/ramips/dts/DAP-1522-A1.dts @@ -40,6 +40,7 @@ }; partition@40000 { + compatible = "wrg"; label = "firmware"; reg = <0x40000 0x3a0000>; }; diff --git a/target/linux/ramips/dts/WCR-1166DS.dts b/target/linux/ramips/dts/WCR-1166DS.dts index ca715c8ba5..b8e86e496c 100644 --- a/target/linux/ramips/dts/WCR-1166DS.dts +++ b/target/linux/ramips/dts/WCR-1166DS.dts @@ -152,6 +152,7 @@ }; partition@50000 { + compatible = "openwrt,trx"; label = "firmware"; reg = <0x50000 0x7c0000>; }; -- 2.30.2