aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:44 +0000
commit55e13f4e6a46b9b1ce753b269deec4b6322a679f (patch)
tree9a2276c6083593dedf15c658a9fa7271b50a0e76
parentb38b966a3c62a187026cee48b8da2baf610cee90 (diff)
downloadupstream-55e13f4e6a46b9b1ce753b269deec4b6322a679f.tar.gz
upstream-55e13f4e6a46b9b1ce753b269deec4b6322a679f.tar.bz2
upstream-55e13f4e6a46b9b1ce753b269deec4b6322a679f.zip
firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> SVN-Revision: 29650
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index bc3a2f377c..1dcfd86156 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -30,6 +30,7 @@
#define ALIGN(x,a) ({ typeof(a) __a = (a); (((x) + __a - 1) & ~(__a - 1)); })
#define HEADER_VERSION_V1 0x01000000
+#define HWID_TL_MR3020_V1 0x30200001
#define HWID_TL_MR3220_V1 0x32200001
#define HWID_TL_MR3420_V1 0x34200001
#define HWID_TL_WA901ND_V1 0x09010001
@@ -161,6 +162,11 @@ static struct flash_layout layouts[] = {
static struct board_info boards[] = {
{
+ .id = "TL-MR3020v1",
+ .hw_id = HWID_TL_MR3020_V1,
+ .hw_rev = 1,
+ .layout_id = "4Mlzma",
+ }, {
.id = "TL-MR3220v1",
.hw_id = HWID_TL_MR3220_V1,
.hw_rev = 1,