aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-07-01 14:49:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-07-01 14:49:04 +0000
commitb76444287b239254ac3ee0143722b11e5adfc4c2 (patch)
treeaa987b6301dafde43f446c1a8094a8c33aed119c /tools
parenta45f1b422c9d4046961ee8c95f399b1b53ad7846 (diff)
downloadupstream-b76444287b239254ac3ee0143722b11e5adfc4c2.tar.gz
upstream-b76444287b239254ac3ee0143722b11e5adfc4c2.tar.bz2
upstream-b76444287b239254ac3ee0143722b11e5adfc4c2.zip
firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-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 cfb03f881a..8e0f53e5eb 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -33,6 +33,7 @@
#endif
#define HEADER_VERSION_V1 0x01000000
+#define HWID_TL_WA901ND_V1 0x09010001
#define HWID_TL_WR741ND_V1 0x07410001
#define HWID_TL_WR841N_V1_5 0x08410002
#define HWID_TL_WR841ND_V3 0x08410003
@@ -109,6 +110,14 @@ char md5salt_boot[MD5SUM_LEN] = {
static struct board_info boards[] = {
{
+ .id = "TL-WA901NDv1",
+ .hw_id = HWID_TL_WA901ND_V1,
+ .hw_rev = 1,
+ .fw_max_len = 0x3c0000,
+ .kernel_la = 0x80060000,
+ .kernel_ep = 0x80060000,
+ .rootfs_ofs = 0x140000,
+ }, {
.id = "TL-WR741NDv1",
.hw_id = HWID_TL_WR741ND_V1,
.hw_rev = 1,