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_ */ 23