summaryrefslogtreecommitdiff
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
commit48e579a5366e803640be3e42f06933d5f5272af9 (patch)
tree8597d7417d06a0189b1d1481335dded641435f77
parent114ce0bd4c0167a9914a6f1105d72730079e19ba (diff)
downloadmtk-20170518-48e579a5366e803640be3e42f06933d5f5272af9.zip
mtk-20170518-48e579a5366e803640be3e42f06933d5f5272af9.tar.gz
mtk-20170518-48e579a5366e803640be3e42f06933d5f5272af9.tar.bz2
firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> SVN-Revision: 22015
-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 cfb03f8..8e0f53e 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,