firmware-utils/mkplinkfw: add TL-WA801ND v2 support
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Dec 2013 20:39:13 +0000 (20:39 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Dec 2013 20:39:13 +0000 (20:39 +0000)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4503/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39066 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/mktplinkfw.c

index 195d169..1c3f49d 100644 (file)
@@ -42,6 +42,7 @@
 #define HWID_TL_WA801ND_V1     0x08010001
 #define HWID_TL_WA830RE_V1     0x08300010
 #define HWID_TL_WA830RE_V2     0x08300002
+#define HWID_TL_WA801ND_V2     0x08010002
 #define HWID_TL_WA901ND_V1     0x09010001
 #define HWID_TL_WA901ND_V2     0x09010002
 #define HWID_TL_WDR4900_V1     0x49000001
@@ -256,6 +257,11 @@ static struct board_info boards[] = {
                .hw_rev         = 1,
                .layout_id      = "4M",
        }, {
+               .id             = "TL-WA801NDv2",
+               .hw_id          = HWID_TL_WA801ND_V2,
+               .hw_rev         = 1,
+               .layout_id      = "4Mlzma",
+       }, {
                .id             = "TL-WA901NDv1",
                .hw_id          = HWID_TL_WA901ND_V1,
                .hw_rev         = 1,