Home
last modified time | relevance | path

Searched refs:fit_hdr (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/u-boot/cmd/
H A Dsource.c37 const void* fit_hdr; in source() local
100 fit_hdr = buf; in source()
101 if (!fit_check_format (fit_hdr)) { in source()
107 noffset = fit_image_get_node (fit_hdr, fit_uname); in source()
113 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source()
124 conf_noffset = fit_conf_get_node(fit_hdr, NULL); in source()
128 if (fit_config_verify(fit_hdr, conf_noffset)) { in source()
133 if (!fit_image_verify(fit_hdr, noffset)) { in source()
140 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
H A Dximg.c45 const void* fit_hdr; in do_imgextract() local
134 fit_hdr = (const void *)addr; in do_imgextract()
135 if (!fit_check_format(fit_hdr)) { in do_imgextract()
141 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract()
147 if (fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract()
157 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract()
164 if (fit_image_get_data(fit_hdr, noffset, in do_imgextract()
170 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
H A Ddisk.c25 const void *fit_hdr = NULL; in common_diskboot() local
86 fit_hdr = (const void *) addr; in common_diskboot()
89 cnt = fit_get_size(fit_hdr); in common_diskboot()
114 if (!fit_check_format(fit_hdr)) { in common_diskboot()
120 fit_print_contents(fit_hdr); in common_diskboot()
H A Dfpga.c244 const void *fit_hdr = (const void *)fpga_data; in do_fpga() local
253 if (!fit_check_format(fit_hdr)) { in do_fpga()
259 noffset = fit_image_get_node(fit_hdr, in do_fpga()
268 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga()
274 if (fit_image_get_data(fit_hdr, noffset, in do_fpga()
H A Dfdc.c644 const void *fit_hdr = NULL; in do_fdcboot() local
704 fit_hdr = (const void *)addr; in do_fdcboot()
707 imsize = fit_get_size (fit_hdr); in do_fdcboot()
734 if (!fit_check_format (fit_hdr)) { in do_fdcboot()
738 fit_print_contents (fit_hdr); in do_fdcboot()
H A Dnand.c861 const void *fit_hdr = NULL; in nand_load_image() local
897 fit_hdr = (const void *)addr; in nand_load_image()
900 cnt = fit_get_size (fit_hdr); in nand_load_image()
922 if (!fit_check_format (fit_hdr)) { in nand_load_image()
928 fit_print_contents (fit_hdr); in nand_load_image()
/OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/
H A Dmc.c115 void *fit_hdr; in parse_mc_firmware_fit_image() local
121 fit_hdr = (void *)mc_fw_addr; in parse_mc_firmware_fit_image()
124 format = genimg_get_format(fit_hdr); in parse_mc_firmware_fit_image()
131 if (!fit_check_format(fit_hdr)) { in parse_mc_firmware_fit_image()
136 node_offset = fit_image_get_node(fit_hdr, uname); in parse_mc_firmware_fit_image()
144 if (!(fit_image_verify(fit_hdr, node_offset))) { in parse_mc_firmware_fit_image()
150 fit_image_get_data(fit_hdr, node_offset, &data, &size); in parse_mc_firmware_fit_image()
/OK3568_Linux_fs/u-boot/common/
H A Dimage-fit.c1961 void *fit_hdr; in fit_get_node_from_config() local
1968 fit_hdr = map_sysmem(addr, 0); in fit_get_node_from_config()
1969 cfg_noffset = fit_conf_get_node(fit_hdr, images->fit_uname_cfg); in fit_get_node_from_config()
1975 noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name); in fit_get_node_from_config()
/OK3568_Linux_fs/u-boot/include/
H A Dimage.h1003 static inline const char *fit_get_name(const void *fit_hdr, in fit_get_name() argument
1006 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()