diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-13 16:51:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-13 16:51:24 +0000 |
commit | eb3cc6b537955fd92154b624b0684d15a5afe9dc (patch) | |
tree | 9c656ed758ed5d9f8cbce64e2abbe590f01c3574 | |
parent | b444ec07baeedb0f550adbad34a869bbe2fdce1c (diff) | |
download | upstream-eb3cc6b537955fd92154b624b0684d15a5afe9dc.tar.gz upstream-eb3cc6b537955fd92154b624b0684d15a5afe9dc.tar.bz2 upstream-eb3cc6b537955fd92154b624b0684d15a5afe9dc.zip |
firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35593 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | tools/firmware-utils/src/mktplinkfw.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index f8f162002b..32466e2499 100644 --- a/tools/firmware-utils/src/mktplinkfw.c +++ b/tools/firmware-utils/src/mktplinkfw.c @@ -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 @@ -176,6 +177,12 @@ static struct flash_layout layouts[] = { .kernel_ep = 0x80060000, .rootfs_ofs = 0x100000, }, { + .id = "16Mppc", + .fw_max_len = 0xf80000, + .kernel_la = 0x00000000, + .kernel_ep = 0xc0000000, + .rootfs_ofs = 0x2a0000, + }, { /* terminating entry */ } }; @@ -227,6 +234,11 @@ static struct board_info boards[] = { .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, .hw_rev = 1, |