firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
authorGabor Juhos <juhosg@openwrt.org>
Tue, 24 Mar 2009 16:08:07 +0000 (16:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 24 Mar 2009 16:08:07 +0000 (16:08 +0000)
SVN-Revision: 15023

tools/firmware-utils/src/mktplinkfw.c

index 3aea7293a2122bfe1576bbf59b940742ed5d653b..6da9aa5caae4950ed080118ced91ed596be390b3 100644 (file)
@@ -34,6 +34,7 @@
 
 #define HEADER_VERSION_V1      0x01000000
 #define HWID_TL_WR941ND_V2     0x09410002
+#define HWID_TL_WR841ND_V3     0x08410003
 
 #define MD5SUM_LEN     16
 
@@ -101,6 +102,14 @@ char md5salt_boot[MD5SUM_LEN] = {
 
 static struct board_info boards[] = {
        {
+               .id             = "TL-WR841NDv3",
+               .hw_id          = HWID_TL_WR841ND_V3,
+               .hw_rev         = 3,
+               .fw_max_len     = 0x3c0000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x120000,
+       }, {
                .id             = "TL-WR941NDv2",
                .hw_id          = HWID_TL_WR941ND_V2,
                .hw_rev         = 2,