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
commit90904e3704f5adf32269c3a75eb80ca3df1a5422 (patch)
tree863a7a9f08e0ddef0e94cc35ae90901dbb05c406 /tools/firmware-utils/src/myloader.h
parent5437cc1f7ccbbf0f82d236aa85fb63e69ceb485e (diff)
downloadupstream-90904e3704f5adf32269c3a75eb80ca3df1a5422.tar.gz
upstream-90904e3704f5adf32269c3a75eb80ca3df1a5422.tar.bz2
upstream-90904e3704f5adf32269c3a75eb80ca3df1a5422.zip
firmware-utils/mkmylofw: WP543 support
SVN-Revision: 12552
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