diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-07 19:36:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-07 19:36:40 +0000 |
commit | 17bcf5783d6404e7ba45487b797db0ab76e695dc (patch) | |
tree | 0e9a8b98d56c295272cd2f766fce385646a10b42 | |
parent | 8782a469c8ecf70d9e4b509990ab3fbc5f3222ac (diff) | |
download | master-187ad058-17bcf5783d6404e7ba45487b797db0ab76e695dc.tar.gz master-187ad058-17bcf5783d6404e7ba45487b797db0ab76e695dc.tar.bz2 master-187ad058-17bcf5783d6404e7ba45487b797db0ab76e695dc.zip |
firware-utils/mktplinkfw: add TL-WR2543N/ND support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 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 d2696af3f8..f8fa2f14b4 100644 --- a/tools/firmware-utils/src/mktplinkfw.c +++ b/tools/firmware-utils/src/mktplinkfw.c @@ -49,6 +49,7 @@ #define HWID_TL_WR941ND_V2 0x09410002 #define HWID_TL_WR941ND_V4 0x09410004 #define HWID_TL_WR1043ND_V1 0x10430001 +#define HWID_TL_WR2543N_V1 0x25430001 #define MD5SUM_LEN 16 @@ -157,6 +158,12 @@ static struct flash_layout layouts[] = { .kernel_ep = 0x80060000, .rootfs_ofs = 0x140000, }, { + .id = "8Mlzma", + .fw_max_len = 0x7c0000, + .kernel_la = 0x80060000, + .kernel_ep = 0x80060000, + .rootfs_ofs = 0x100000, + }, { /* terminating entry */ } }; @@ -253,6 +260,11 @@ static struct board_info boards[] = { .hw_rev = 1, .layout_id = "8M", }, { + .id = "TL-WR2543Nv1", + .hw_id = HWID_TL_WR2543N_V1, + .hw_rev = 1, + .layout_id = "8Mlzma", + }, { .id = "TL-WR703Nv1", .hw_id = HWID_TL_WR703N_V1, .hw_rev = 1, |