diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 18:21:08 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 18:21:08 +0000 |
commit | 7bda650018650a1ba840792e8f62fa5cf5432c29 (patch) | |
tree | 8ba99bf6f1d629582f4b99b75056d901976eabe3 /tools/firmware-utils/src/mktplinkfw.c | |
parent | 5a79ff3c30f315f6033102eb5a5f90dbcb54d8b7 (diff) | |
download | upstream-7bda650018650a1ba840792e8f62fa5cf5432c29.tar.gz upstream-7bda650018650a1ba840792e8f62fa5cf5432c29.tar.bz2 upstream-7bda650018650a1ba840792e8f62fa5cf5432c29.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41620 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils/src/mktplinkfw.c')
-rw-r--r-- | tools/firmware-utils/src/mktplinkfw.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -388,6 +389,11 @@ static struct board_info boards[] = { .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, .hw_rev = 1, |