blob: e415f14e147ed8729dae2f44a0c9f7192944135a [file] [log] [blame]
Guilherme Maciel Ferreira51553812013-12-01 12:43:11 -07001/*
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>
Jeroen Hofsteebfe88fe2014-06-12 22:27:12 +020021#include <u-boot/sha1.h>
Guilherme Maciel Ferreira51553812013-12-01 12:43:11 -070022#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_ */