firmware-utils/mktplinkfw: add support for the TL-WA901ND
authorGabor Juhos <juhosg@openwrt.org>
Thu, 1 Jul 2010 14:49:04 +0000 (14:49 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 1 Jul 2010 14:49:04 +0000 (14:49 +0000)
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>
SVN-Revision: 22015

tools/firmware-utils/src/mktplinkfw.c

index cfb03f881a7f7269897e8307c4aafe466096c205..8e0f53e5eb90627a1cd78c4c979b127d216952a3 100644 (file)
@@ -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,