firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Mar 2011 15:08:29 +0000 (15:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Mar 2011 15:08:29 +0000 (15:08 +0000)
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26118

tools/firmware-utils/src/mktplinkfw.c

index 73603bf1e91e1f291356d03f9b283821eb9229b0..8f1e42eebb2c4d5c3ba62e526255886e5e3133a9 100644 (file)
@@ -36,6 +36,7 @@
 #define HWID_TL_MR3220_V1      0x32200001
 #define HWID_TL_MR3420_V1      0x34200001
 #define HWID_TL_WA901ND_V1     0x09010001
+#define HWID_TL_WA901ND_V2     0x09010002
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR740N_V1      0x07400001
 #define HWID_TL_WR841N_V1_5    0x08410002
@@ -143,6 +144,14 @@ static struct board_info boards[] = {
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "TL-WA901NDv2",
+               .hw_id          = HWID_TL_WA901ND_V2,
+               .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,