Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dsource.c55 const void* fit_hdr; in source() local
109 fit_hdr = buf; in source()
110 if (!fit_check_format (fit_hdr)) { in source()
116 fit_uname = get_default_image(fit_hdr); in source()
124 noffset = fit_image_get_node (fit_hdr, fit_uname); in source()
130 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source()
137 if (!fit_image_verify(fit_hdr, noffset)) { in source()
144 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
Dximg.c47 const void* fit_hdr; in do_imgextract() local
136 fit_hdr = (const void *)addr; in do_imgextract()
137 if (!fit_check_format(fit_hdr)) { in do_imgextract()
143 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract()
149 if (!fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract()
159 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract()
166 if (fit_image_get_data_and_size(fit_hdr, noffset, in do_imgextract()
172 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
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()
Dfpga.c321 const void *fit_hdr = (const void *)fpga_data; in do_fpga_loadmk() local
330 if (!fit_check_format(fit_hdr)) { in do_fpga_loadmk()
336 noffset = fit_image_get_node(fit_hdr, fit_uname); in do_fpga_loadmk()
343 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga_loadmk()
349 if (fit_image_get_data_and_size(fit_hdr, noffset, in do_fpga_loadmk()
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()
Dnand.c855 const void *fit_hdr = NULL; in nand_load_image() local
891 fit_hdr = (const void *)addr; in nand_load_image()
894 cnt = fit_get_size (fit_hdr); in nand_load_image()
916 if (!fit_check_format (fit_hdr)) { in nand_load_image()
922 fit_print_contents (fit_hdr); in nand_load_image()
/external/u-boot/drivers/net/fsl-mc/
Dmc.c120 void *fit_hdr; in parse_mc_firmware_fit_image() local
126 fit_hdr = (void *)mc_fw_addr; in parse_mc_firmware_fit_image()
129 format = genimg_get_format(fit_hdr); in parse_mc_firmware_fit_image()
136 if (!fit_check_format(fit_hdr)) { in parse_mc_firmware_fit_image()
141 node_offset = fit_image_get_node(fit_hdr, uname); in parse_mc_firmware_fit_image()
149 if (!(fit_image_verify(fit_hdr, node_offset))) { in parse_mc_firmware_fit_image()
155 fit_image_get_data(fit_hdr, node_offset, &data, &size); in parse_mc_firmware_fit_image()
/external/u-boot/common/
Dimage-fit.c1752 void *fit_hdr; in fit_get_node_from_config() local
1759 fit_hdr = map_sysmem(addr, 0); in fit_get_node_from_config()
1760 cfg_noffset = fit_conf_get_node(fit_hdr, images->fit_uname_cfg); in fit_get_node_from_config()
1766 noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name); in fit_get_node_from_config()
/external/u-boot/prebuilt-intermediates/
Dimage.h999 static inline const char *fit_get_name(const void *fit_hdr, in fit_get_name() argument
1002 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()
/external/u-boot/include/
Dimage.h999 static inline const char *fit_get_name(const void *fit_hdr, in fit_get_name() argument
1002 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()