aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/myloader.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-09-08 12:39:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-09-08 12:39:33 +0000
commit9f40ecda1f5d604022aa28e5d7fbeea3697fe5e2 (patch)
treee4498ab041f00d4e0a44da65ca6e8818e42b000f /tools/firmware-utils/src/myloader.h
parent91f79c22030c24a9fe25db26fe974b0057843216 (diff)
downloadmaster-187ad058-9f40ecda1f5d604022aa28e5d7fbeea3697fe5e2.tar.gz
master-187ad058-9f40ecda1f5d604022aa28e5d7fbeea3697fe5e2.tar.bz2
master-187ad058-9f40ecda1f5d604022aa28e5d7fbeea3697fe5e2.zip
[tools] firmware-utils/mkmylofw: WP543 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12552 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils/src/myloader.h')
-rw-r--r--tools/firmware-utils/src/myloader.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/myloader.h b/tools/firmware-utils/src/myloader.h
index 3c0c6021b1..d01bce951a 100644
--- a/tools/firmware-utils/src/myloader.h
+++ b/tools/firmware-utils/src/myloader.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006,2007 Gabor Juhos
+ * Copyright (C) 2006-2008 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -56,6 +56,9 @@
#define DEVID_COMPEX_WPP54AG 0x0550
#define DEVID_COMPEX_WPP54G 0x0555
+/* Devices based on the Atheros AR71xx */
+#define DEVID_COMPEX_WP543 0x0640
+
/* Devices based on the IXP422 */
#define DEVID_COMPEX_WP18 0x047E
#define DEVID_COMPEX_NP18A 0x0489
@@ -108,6 +111,7 @@ struct mylo_partition {
#define PARTIIION_FLAG_RAMLOAD 0x1000 /* FIXME: load this partition into the RAM? */
#define PARTITION_FLAG_PRELOAD 0x0800 /* the partition data preloaded to RAM
* before decompression */
+#define PARTITION_FLAG_LZMA 0x0100 /* the partition data compressed with LZMA */
#define PARTITION_FLAG_HAVEHDR 0x0002 /* the partition data have a header */
#define PARTITION_TYPE_FREE 0