blob: adf440480b5babe031fae7472d27dd405d289db5 [file] [log] [blame]
Heiko Schocher6bf4ca02014-03-03 12:19:29 +01001/*
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
14int fit_verify_header(unsigned char *ptr, int image_size,
15 struct image_tool_params *params);
16
17int fit_check_image_types(uint8_t type);
18
19int mmap_fdt(char *cmdname, const char *fname, void **blobp,
20 struct stat *sbuf, int useunlink);
21
22#endif /* _FIT_COMMON_H_ */