Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dsource.c36 const void* fit_hdr; in source() local
95 fit_hdr = buf; in source()
96 if (!fit_check_format (fit_hdr)) { in source()
102 noffset = fit_image_get_node (fit_hdr, fit_uname); in source()
108 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source()
115 if (!fit_image_verify(fit_hdr, noffset)) { in source()
122 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
Dximg.c44 const void* fit_hdr; in do_imgextract() local
133 fit_hdr = (const void *)addr; in do_imgextract()
134 if (!fit_check_format(fit_hdr)) { in do_imgextract()
140 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract()
146 if (fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract()
156 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract()
163 if (fit_image_get_data(fit_hdr, noffset, in do_imgextract()
169 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
Ddisk.c24 const void *fit_hdr = NULL; in common_diskboot() local
85 fit_hdr = (const void *) addr; in common_diskboot()
88 cnt = fit_get_size(fit_hdr); in common_diskboot()
113 if (!fit_check_format(fit_hdr)) { in common_diskboot()
119 fit_print_contents(fit_hdr); in common_diskboot()
Dfpga.c291 const void *fit_hdr = (const void *)fpga_data; in do_fpga() local
300 if (!fit_check_format(fit_hdr)) { in do_fpga()
306 noffset = fit_image_get_node(fit_hdr, in do_fpga()
315 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga()
321 if (fit_image_get_data(fit_hdr, noffset, in do_fpga()
Dfdc.c643 const void *fit_hdr = NULL; in do_fdcboot() local
703 fit_hdr = (const void *)addr; in do_fdcboot()
706 imsize = fit_get_size (fit_hdr); in do_fdcboot()
733 if (!fit_check_format (fit_hdr)) { in do_fdcboot()
737 fit_print_contents (fit_hdr); in do_fdcboot()
Dnand.c853 const void *fit_hdr = NULL; in nand_load_image() local
889 fit_hdr = (const void *)addr; in nand_load_image()
892 cnt = fit_get_size (fit_hdr); in nand_load_image()
914 if (!fit_check_format (fit_hdr)) { in nand_load_image()
920 fit_print_contents (fit_hdr); in nand_load_image()
/external/u-boot/drivers/net/fsl-mc/
Dmc.c114 void *fit_hdr; in parse_mc_firmware_fit_image() local
120 fit_hdr = (void *)mc_fw_addr; in parse_mc_firmware_fit_image()
123 format = genimg_get_format(fit_hdr); in parse_mc_firmware_fit_image()
130 if (!fit_check_format(fit_hdr)) { in parse_mc_firmware_fit_image()
135 node_offset = fit_image_get_node(fit_hdr, uname); in parse_mc_firmware_fit_image()
143 if (!(fit_image_verify(fit_hdr, node_offset))) { in parse_mc_firmware_fit_image()
149 fit_image_get_data(fit_hdr, node_offset, &data, &size); in parse_mc_firmware_fit_image()
/external/u-boot/common/
Dimage-fit.c1727 void *fit_hdr; in fit_get_node_from_config() local
1734 fit_hdr = map_sysmem(addr, 0); in fit_get_node_from_config()
1735 cfg_noffset = fit_conf_get_node(fit_hdr, images->fit_uname_cfg); in fit_get_node_from_config()
1741 noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name); in fit_get_node_from_config()
/external/u-boot/include/
Dimage.h972 static inline const char *fit_get_name(const void *fit_hdr, in fit_get_name() argument
975 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()