firmware-utils/mktplinkfw: add support for the TL-MR3220 v2
authorGabor Juhos <juhosg@openwrt.org>
Wed, 19 Dec 2012 08:50:43 +0000 (08:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 19 Dec 2012 08:50:43 +0000 (08:50 +0000)
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

tools/firmware-utils/src/mktplinkfw.c

index 0446fdc62879d68633ed27415040700362900cde..55fcb4caf74238d41ba1022c29b869e9344dbf1c 100644 (file)
@@ -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
@@ -189,6 +190,11 @@ static struct board_info boards[] = {
                .hw_id          = HWID_TL_MR3220_V1,
                .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,