]> git.ipfire.org Git - people/ms/u-boot.git/blame - tools/dumpimage.h
Remove CONFIG_SYS_BOOTCOUNT_SINGLEWORD
[people/ms/u-boot.git] / tools / dumpimage.h
CommitLineData
a804b5ce
GMF
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>
2b9912e6 21#include <u-boot/sha1.h>
a804b5ce
GMF
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_ */