1 #ifndef BCM43xx_ASM_ARGS_H_
2 #define BCM43xx_ASM_ARGS_H_
8 FMT_RAW_LE32, /* Raw microcode. No headers. 32bit little endian chunks. */
9 FMT_RAW_BE32, /* Raw microcode. No headers. 32bit big endian chunks. */
10 FMT_B43, /* b43/b43legacy headers. */
14 int debug; /* Debug level. */
15 bool print_sizes; /* Print sizes after assembling. */
16 const char *initvals_fn_extension; /* Initvals filename extension. */
17 const char *real_infile_name; /* The real input file name. */
18 enum fwformat outformat; /* The output file format. */
21 int parse_args(int argc, char **argv);
22 int open_input_file(void);
23 void close_input_file(void);
25 extern struct cmdline_args cmdargs;
27 #define IS_DEBUG (cmdargs.debug > 0)
28 #define IS_VERBOSE_DEBUG (cmdargs.debug > 1)
29 #define IS_INSANE_DEBUG (cmdargs.debug > 2)
31 #endif /* BCM43xx_ASM_ARGS_H_ */