]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - tools/fit_common.h
sunxi: non-FEL SPL boot support for sun7i
[karo-tx-uboot.git] / tools / fit_common.h
1 /*
2  * (C) Copyright 2014
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _FIT_COMMON_H_
8 #define _FIT_COMMON_H_
9
10 #include "imagetool.h"
11 #include "mkimage.h"
12 #include <image.h>
13
14 int fit_verify_header(unsigned char *ptr, int image_size,
15                         struct image_tool_params *params);
16
17 int fit_check_image_types(uint8_t type);
18
19 int mmap_fdt(char *cmdname, const char *fname, void **blobp,
20                 struct stat *sbuf, int useunlink);
21
22 #endif /* _FIT_COMMON_H_ */