tools: otrx: allow own magic
[project/firmware-utils.git] / src / myloader.h
index 3c0c6021b1c55615ea212d843ac226dd536892d3..7be1d49369dafaf30651e7a75266a33d534627f4 100644 (file)
@@ -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
 #define DEVID_COMPEX_WPP54AG   0x0550
 #define DEVID_COMPEX_WPP54G    0x0555
 
+/* Devices based on the Atheros AR2317 */
+#define DEVID_COMPEX_NP25G     0x05e6
+#define DEVID_COMPEX_WPE53G    0x05dc
+
+/* Devices based on the Atheros AR71xx */
+#define DEVID_COMPEX_WP543     0x0640
+#define DEVID_COMPEX_WPE72     0x0672
+
 /* Devices based on the IXP422 */
 #define DEVID_COMPEX_WP18      0x047E
 #define DEVID_COMPEX_NP18A     0x0489
@@ -108,6 +116,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