firmware-utils/mktplinkfw: add support for the Oolite v1 board
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:49 +0000 (06:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:49 +0000 (06:36 +0000)
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: fix whitespaces]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40035

tools/firmware-utils/src/mktplinkfw.c

index d92207f4888ef4799216fcbdb156aaa55e3ed825..bb5ebd7fdc967d4f0bdd9dd88a69ccb12b7b5166 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_GS_OOLITE_V1      0x3C000101
 #define HWID_TL_MR10U_V1       0x00100101
 #define HWID_TL_MR13U_V1       0x00130101
 #define HWID_TL_MR3020_V1      0x30200001
@@ -380,6 +381,11 @@ static struct board_info boards[] = {
                .hw_id          = HWID_TL_WR720N_V3,
                .hw_rev         = 1,
                .layout_id      = "4Mlzma",
+       }, {
+               .id             = "GS-OOLITEv1",
+               .hw_id          = HWID_GS_OOLITE_V1,
+               .hw_rev         = 1,
+               .layout_id      = "16Mlzma",
        }, {
                /* terminating entry */
        }