]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
a804b5ce GMF |
2 | /* |
3 | * Based on mkimage.c. | |
4 | * | |
5 | * Written by Guilherme Maciel Ferreira <[email protected]> | |
a804b5ce GMF |
6 | */ |
7 | ||
8 | #ifndef _DUMPIMAGE_H_ | |
9 | #define _DUMPIMAGE_H_ | |
10 | ||
11 | #include "os_support.h" | |
12 | #include <errno.h> | |
13 | #include <fcntl.h> | |
14 | #include <stdio.h> | |
15 | #include <stdlib.h> | |
16 | #include <string.h> | |
17 | #include <sys/stat.h> | |
18 | #include <time.h> | |
19 | #include <unistd.h> | |
2b9912e6 | 20 | #include <u-boot/sha1.h> |
a804b5ce GMF |
21 | #include "fdt_host.h" |
22 | #include "imagetool.h" | |
23 | ||
24 | #undef DUMPIMAGE_DEBUG | |
25 | ||
26 | #ifdef DUMPIMAGE_DEBUG | |
27 | #define debug(fmt, args...) printf(fmt, ##args) | |
28 | #else | |
29 | #define debug(fmt, args...) | |
30 | #endif /* DUMPIMAGE_DEBUG */ | |
31 | ||
32 | #endif /* _DUMPIMAGE_H_ */ |