static void usage(int status)
{
FILE *stream = (status != EXIT_SUCCESS) ? stderr : stdout;
- struct board_info *board;
fprintf(stream, "Usage: %s [OPTIONS...]\n", progname);
fprintf(stream,
char *buf;
char *p;
int ret = EXIT_FAILURE;
- int writelen = 0;
- uint32_t crc;
struct fw_header *hdr;
struct fw_tail *tail;
int main(int argc, char *argv[])
{
int ret = EXIT_FAILURE;
- int err;
-
- FILE *outfile;
-
- progname = basename(argv[0]);
while ( 1 ) {
int c;