summaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/myloader.h
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-08 12:39:33 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-08 12:39:33 +0000
commitd7f64a5f61ca6604c28d7b6da1c1bb863e5df044 (patch)
treee4498ab041f00d4e0a44da65ca6e8818e42b000f /tools/firmware-utils/src/myloader.h
parent89918c806f3ce741837eaa2464031763425c7923 (diff)
[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 3c0c6021b..d01bce951 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