xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-rockchip/fit.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:     GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef __ROCKCHIP_FIT_H_
8*4882a593Smuzhiyun #define __ROCKCHIP_FIT_H_
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #define FIT_I(fmt, args...)	printf("FIT: "fmt, ##args)
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun ulong fit_image_get_bootables_size(const void *fit);
13*4882a593Smuzhiyun void *fit_image_load_bootables(ulong *size);
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun int fit_image_pre_process(const void *fit);
16*4882a593Smuzhiyun int fit_image_fail_process(const void *fit);
17*4882a593Smuzhiyun int fit_image_read_dtb(void *fdt_addr);
18*4882a593Smuzhiyun ulong fit_image_init_resource(struct blk_desc *dev_desc);
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #endif
21