aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit39532ed7b60eb031d66cf2648b8b02633d2d9251 (patch)
tree6e12eea7630e2dcbc0f05612cb20bdad7f571763 /tools
parent808517d4807b7af2a686ead980b3125f7d82f48e (diff)
downloadupstream-39532ed7b60eb031d66cf2648b8b02633d2d9251.tar.gz
upstream-39532ed7b60eb031d66cf2648b8b02633d2d9251.tar.bz2
upstream-39532ed7b60eb031d66cf2648b8b02633d2d9251.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34781 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-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 0446fdc628..55fcb4caf7 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,