From: Gabor Juhos Date: Sun, 13 Jul 2014 18:21:08 +0000 (+0000) Subject: firmware-utils/mktplinkfw: add support for GL.iNet v1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=def30210f8f8859b611c099e2c0f9450c56e3baf;p=openwrt%2Fstaging%2Flinusw.git firmware-utils/mktplinkfw: add support for GL.iNet v1 Patch is based on http://patchwork.openwrt.org/patch/5273/. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Michel Stempin Signed-off-by: Mark Janssen Signed-off-by: alzhao Patchwork: http://patchwork.openwrt.org/patch/5653/ Signed-off-by: Gabor Juhos SVN-Revision: 41620 --- diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index f0b33a0150..a6aab598a1 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_GL_INET_V1 0x08000001 #define HWID_GS_OOLITE_V1 0x3C000101 #define HWID_TL_MR10U_V1 0x00100101 #define HWID_TL_MR13U_V1 0x00130101 @@ -387,6 +388,11 @@ static struct board_info boards[] = { .hw_id = HWID_TL_WR720N_V3, .hw_rev = 1, .layout_id = "4Mlzma", + }, { + .id = "GL-INETv1", + .hw_id = HWID_GL_INET_V1, + .hw_rev = 1, + .layout_id = "8Mlzma", }, { .id = "GS-OOLITEv1", .hw_id = HWID_GS_OOLITE_V1,