firmware-utils/mktplinkfw: add support for TL-WR703N v1
authorGabor Juhos <juhosg@openwrt.org>
Wed, 21 Sep 2011 11:47:55 +0000 (11:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 21 Sep 2011 11:47:55 +0000 (11:47 +0000)
Patch-by: dongyuqi <729650915@qq.com>
SVN-Revision: 28278

tools/firmware-utils/src/mktplinkfw.c

index 8d3ee14e06a622308a0810588955adf14ed4ae1d..14dd9704e90ae2ee61cde3f357dbb853af8c6038 100644 (file)
@@ -37,6 +37,7 @@
 #define HWID_TL_MR3420_V1      0x34200001
 #define HWID_TL_WA901ND_V1     0x09010001
 #define HWID_TL_WA901ND_V2     0x09010002
+#define HWID_TL_WR703N_V1      0x07030101
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR740N_V1      0x07400001
 #define HWID_TL_WR740N_V3      0x07400300
@@ -242,6 +243,14 @@ static struct board_info boards[] = {
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "TL-WR703Nv1",
+               .hw_id          = HWID_TL_WR703N_V1,
+               .hw_rev         = 1,
+               .fw_max_len     = 0x3c0000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x100000,
        }, {
                /* terminating entry */
        }