~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/tools/dumpimage.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Based on mkimage.c.
 
3
 *
 
4
 * Written by Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
 
5
 *
 
6
 * SPDX-License-Identifier:     GPL-2.0+
 
7
 */
 
8
 
 
9
#ifndef _DUMPIMAGE_H_
 
10
#define _DUMPIMAGE_H_
 
11
 
 
12
#include "os_support.h"
 
13
#include <errno.h>
 
14
#include <fcntl.h>
 
15
#include <stdio.h>
 
16
#include <stdlib.h>
 
17
#include <string.h>
 
18
#include <sys/stat.h>
 
19
#include <time.h>
 
20
#include <unistd.h>
 
21
#include <sha1.h>
 
22
#include "fdt_host.h"
 
23
#include "imagetool.h"
 
24
 
 
25
#undef DUMPIMAGE_DEBUG
 
26
 
 
27
#ifdef DUMPIMAGE_DEBUG
 
28
#define debug(fmt, args...)     printf(fmt, ##args)
 
29
#else
 
30
#define debug(fmt, args...)
 
31
#endif /* DUMPIMAGE_DEBUG */
 
32
 
 
33
#endif /* _DUMPIMAGE_H_ */