firmware-utils/mktplinkfw: add support for TL-MR3020
authorGabor Juhos <juhosg@openwrt.org>
Wed, 4 Jan 2012 17:30:44 +0000 (17:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 4 Jan 2012 17:30:44 +0000 (17:30 +0000)
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29650

tools/firmware-utils/src/mktplinkfw.c

index bc3a2f377c98a408f7e740c183e13696cfd879b7..1dcfd86156d41657b750c09e5bfd48d6b175b839 100644 (file)
@@ -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,