summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:58 +0000
commit1a53806b861c52552cd6a02cd3be128400eae763 (patch)
treefac9c2b100deee50c2710cddfb7ef46a88489787
parent4ea54b827ffc7a3880ef34d7394c477d62c9d79d (diff)
downloadmtk-20170518-1a53806b861c52552cd6a02cd3be128400eae763.zip
mtk-20170518-1a53806b861c52552cd6a02cd3be128400eae763.tar.gz
mtk-20170518-1a53806b861c52552cd6a02cd3be128400eae763.tar.bz2
firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)
The version of TL-WDR4300 sold in Israel comes with a different hardware id. Patch-by: Daniel <daniel@makrotopia.org> Patchwork: http://patchwork.openwrt.org/patch/5001/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40037
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index bb5ebd7..f0b33a0 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -46,6 +46,7 @@
#define HWID_TL_WA801ND_V2 0x08010002
#define HWID_TL_WA901ND_V1 0x09010001
#define HWID_TL_WA901ND_V2 0x09010002
+#define HWID_TL_WDR4300_V1_IL 0x43008001
#define HWID_TL_WDR4900_V1 0x49000001
#define HWID_TL_WR703N_V1 0x07030101
#define HWID_TL_WR720N_V3 0x07200103
@@ -287,6 +288,11 @@ static struct board_info boards[] = {
.hw_rev = 1,
.layout_id = "4M",
}, {
+ .id = "TL-WDR4300v1",
+ .hw_id = HWID_TL_WDR4300_V1_IL,
+ .hw_rev = 1,
+ .layout_id = "8Mlzma",
+ }, {
.id = "TL-WDR4900v1",
.hw_id = HWID_TL_WDR4900_V1,
.hw_rev = 1,