assembler: Add support for raw output format
[b43-tools.git] / assembler / args.h
index 06f8ca3171a3be75f43f2417cd4c4e6a64001100..fc3abc1b46947174dede81da0928166e1271c3d6 100644 (file)
@@ -4,6 +4,12 @@
 #include "util.h"
 
 
+enum fwformat {
+       FMT_RAW_LE32,   /* Raw microcode. No headers. 32bit little endian chunks. */
+       FMT_RAW_BE32,   /* Raw microcode. No headers. 32bit big endian chunks. */
+       FMT_B43,        /* b43/b43legacy headers. */
+};
+
 int parse_args(int argc, char **argv);
 int open_input_file(void);
 void close_input_file(void);
@@ -11,6 +17,7 @@ void close_input_file(void);
 extern int _debug;
 extern bool arg_print_sizes;
 extern const char *initvals_fn_extension;
+extern enum fwformat output_format;
 
 #define IS_DEBUG               (_debug > 0)
 #define IS_VERBOSE_DEBUG       (_debug > 1)