[OpenWrt-Devel] [PATCH 2/2] ath79: add Archer C58/C59 partition compatible

David Bauer mail at david-bauer.net
Mon Nov 26 13:28:07 EST 2018


This commit adds firmware partition compatible for the
TP-Link Archer C58 v1 and Archer C59 v1.

Since a22311e this allows to select the correct mtdsplit
parser instead of trying all available ones one by one.

Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts | 1 +
 target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
index ffce955fd3..0e122b4ddc 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
@@ -93,6 +93,7 @@
 			};
 
 			partition at 20000 {
+				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x020000 0x7c0000>;
 			};
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
index 9d4df9a5fc..64778df495 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
@@ -116,6 +116,7 @@
 			};
 
 			partition at 20000 {
+				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x020000 0xe30000>;
 			};
-- 
2.19.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list