[OpenWrt-Devel] [PATCH] ath79: add AVM EVA firmware partition compatible

David Bauer mail at david-bauer.net
Sat Dec 1 07:47:55 EST 2018


This commit adds firmware partition compatible for the
AVM FRITZ!Box 4020 and AVM FRITZ!WLAN Repeater 300E.

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/ar7242_avm_fritz300e.dts  | 1 +
 target/linux/ath79/dts/qca9561_avm_fritz4020.dts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
index 0a142666ac..fb6b0ff30e 100644
--- a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
+++ b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
@@ -115,6 +115,7 @@
 			};
 
 			partition at 20000 {
+				compatible = "avm,eva-firmware";
 				reg = <0x20000 0xee0000>;
 				label = "firmware";
 			};
diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
index 8489c8a1e6..3310a3423b 100644
--- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
+++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
@@ -136,6 +136,7 @@
 			};
 
 			partition at 1 {
+				compatible = "avm,eva-firmware";
 				label = "firmware";
 				reg = <0x020000 0xee0000>;
 			};
-- 
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