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 <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41620
This commit is contained in:
Gabor Juhos 2014-07-13 18:21:08 +00:00
parent 6991725a1e
commit def30210f8

View File

@ -30,6 +30,7 @@
#define ALIGN(x,a) ({ typeof(a) __a = (a); (((x) + __a - 1) & ~(__a - 1)); }) #define ALIGN(x,a) ({ typeof(a) __a = (a); (((x) + __a - 1) & ~(__a - 1)); })
#define HEADER_VERSION_V1 0x01000000 #define HEADER_VERSION_V1 0x01000000
#define HWID_GL_INET_V1 0x08000001
#define HWID_GS_OOLITE_V1 0x3C000101 #define HWID_GS_OOLITE_V1 0x3C000101
#define HWID_TL_MR10U_V1 0x00100101 #define HWID_TL_MR10U_V1 0x00100101
#define HWID_TL_MR13U_V1 0x00130101 #define HWID_TL_MR13U_V1 0x00130101
@ -387,6 +388,11 @@ static struct board_info boards[] = {
.hw_id = HWID_TL_WR720N_V3, .hw_id = HWID_TL_WR720N_V3,
.hw_rev = 1, .hw_rev = 1,
.layout_id = "4Mlzma", .layout_id = "4Mlzma",
}, {
.id = "GL-INETv1",
.hw_id = HWID_GL_INET_V1,
.hw_rev = 1,
.layout_id = "8Mlzma",
}, { }, {
.id = "GS-OOLITEv1", .id = "GS-OOLITEv1",
.hw_id = HWID_GS_OOLITE_V1, .hw_id = HWID_GS_OOLITE_V1,