fit_common.h 447 B

12345678910111213141516171819202122
  1. /*
  2. * (C) Copyright 2014
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef _FIT_COMMON_H_
  7. #define _FIT_COMMON_H_
  8. #include "imagetool.h"
  9. #include "mkimage.h"
  10. #include <image.h>
  11. int fit_verify_header(unsigned char *ptr, int image_size,
  12. struct image_tool_params *params);
  13. int fit_check_image_types(uint8_t type);
  14. int mmap_fdt(char *cmdname, const char *fname, void **blobp,
  15. struct stat *sbuf, int useunlink);
  16. #endif /* _FIT_COMMON_H_ */