summaryrefslogtreecommitdiff
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-19 08:50:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-19 08:50:43 +0000
commitcbc3aebcc799a04a19bb4ce6bd6ab6cf881c65d2 (patch)
tree1463c6b48f21466cf6d0e672b1cb6306a5b56413 /tools/firmware-utils
parentb1b7aa674ebf98c2d3af25cae43168fc6d00614b (diff)
downloadmtk-20170518-cbc3aebcc799a04a19bb4ce6bd6ab6cf881c65d2.zip
mtk-20170518-cbc3aebcc799a04a19bb4ce6bd6ab6cf881c65d2.tar.gz
mtk-20170518-cbc3aebcc799a04a19bb4ce6bd6ab6cf881c65d2.tar.bz2
firmware-utils/mktplinkfw: add support for the TL-MR3220 v2
Based on the following patch: http://patchwork.openwrt.org/patch/3043/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34781
Diffstat (limited to 'tools/firmware-utils')
-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 0446fdc..55fcb4c 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -32,6 +32,7 @@
#define HEADER_VERSION_V1 0x01000000
#define HWID_TL_MR3020_V1 0x30200001
#define HWID_TL_MR3220_V1 0x32200001
+#define HWID_TL_MR3220_V2 0x32200002
#define HWID_TL_MR3420_V1 0x34200001
#define HWID_TL_WA701N_V1 0x07010001
#define HWID_TL_WA7510N_V1 0x75100001
@@ -190,6 +191,11 @@ static struct board_info boards[] = {
.hw_rev = 1,
.layout_id = "4M",
}, {
+ .id = "TL-MR3220v2",
+ .hw_id = HWID_TL_MR3220_V2,
+ .hw_rev = 1,
+ .layout_id = "4Mlzma",
+ }, {
.id = "TL-MR3420v1",
.hw_id = HWID_TL_MR3420_V1,
.hw_rev = 1,