firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
authorGabor Juhos <juhosg@openwrt.org>
Wed, 13 Feb 2013 16:51:24 +0000 (16:51 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 13 Feb 2013 16:51:24 +0000 (16:51 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35593

tools/firmware-utils/src/mktplinkfw.c

index f8f162002b769fd839917a245d0cacce019f9c09..32466e249920cdf2c56cc6c269905ca4d739e9a7 100644 (file)
@@ -39,6 +39,7 @@
 #define HWID_TL_WA801ND_V1     0x08010001
 #define HWID_TL_WA901ND_V1     0x09010001
 #define HWID_TL_WA901ND_V2     0x09010002
+#define HWID_TL_WDR4900_V1     0x49000001
 #define HWID_TL_WR703N_V1      0x07030101
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR741ND_V4     0x07410004
@@ -175,6 +176,12 @@ static struct flash_layout layouts[] = {
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
                .rootfs_ofs     = 0x100000,
+       }, {
+               .id             = "16Mppc",
+               .fw_max_len     = 0xf80000,
+               .kernel_la      = 0x00000000,
+               .kernel_ep      = 0xc0000000,
+               .rootfs_ofs     = 0x2a0000,
        }, {
                /* terminating entry */
        }
@@ -226,6 +233,11 @@ static struct board_info boards[] = {
                .hw_id          = HWID_TL_WA901ND_V2,
                .hw_rev         = 1,
                .layout_id      = "4M",
+       }, {
+               .id             = "TL-WDR4900v1",
+               .hw_id          = HWID_TL_WDR4900_V1,
+               .hw_rev         = 1,
+               .layout_id      = "16Mppc",
        }, {
                .id             = "TL-WR741NDv1",
                .hw_id          = HWID_TL_WR741ND_V1,