aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-26 07:32:00 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-26 07:32:00 +0000
commitf0b89f8f09c64232771235e24507bc386e50609a (patch)
treec8d27bf134a600517a8803540458c33f7287861c /tools/firmware-utils
parent07280acae50932f6bfff414e25c3eb7fcbe43c24 (diff)
downloadupstream-f0b89f8f09c64232771235e24507bc386e50609a.tar.gz
upstream-f0b89f8f09c64232771235e24507bc386e50609a.tar.bz2
upstream-f0b89f8f09c64232771235e24507bc386e50609a.zip
firmware-utils/mktplinkfw: add support for the TL-MR10U board
Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37549 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 74a55fd27a..19dc2b4cc9 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_TL_MR10U_V1 0x00100101
#define HWID_TL_MR3020_V1 0x30200001
#define HWID_TL_MR3220_V1 0x32200001
#define HWID_TL_MR3220_V2 0x32200002
@@ -193,6 +194,11 @@ static struct flash_layout layouts[] = {
static struct board_info boards[] = {
{
+ .id = "TL-MR10Uv1",
+ .hw_id = HWID_TL_MR10U_V1,
+ .hw_rev = 1,
+ .layout_id = "4Mlzma",
+ }, {
.id = "TL-MR3020v1",
.hw_id = HWID_TL_MR3020_V1,
.hw_rev = 1,