aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:55 +0000
commita2037eae5d445d79b02963d33386ad4bc9995ae0 (patch)
treefbfa1a331511027b618ab433a5a9be19f6b16692 /tools/firmware-utils
parent3e6c09cc01484586f42e78bf569c5b46e78f18f8 (diff)
downloadupstream-a2037eae5d445d79b02963d33386ad4bc9995ae0.tar.gz
upstream-a2037eae5d445d79b02963d33386ad4bc9995ae0.tar.bz2
upstream-a2037eae5d445d79b02963d33386ad4bc9995ae0.zip
firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 8d3ee14e06..14dd9704e9 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -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
@@ -243,6 +244,14 @@ static struct board_info boards[] = {
.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 */
}
};