Searched refs:fit_hdr (Results 1 – 9 of 9) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | source.c | 54 const void* fit_hdr; in source() local 108 fit_hdr = buf; in source() 109 if (!fit_check_format (fit_hdr)) { in source() 115 fit_uname = get_default_image(fit_hdr); in source() 123 noffset = fit_image_get_node (fit_hdr, fit_uname); in source() 129 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source() 136 if (!fit_image_verify(fit_hdr, noffset)) { in source() 143 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
|
H A D | ximg.c | 44 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()
|
H A D | disk.c | 24 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()
|
H A D | fpga.c | 319 const void *fit_hdr = (const void *)fpga_data; in do_fpga_loadmk() local 328 if (!fit_check_format(fit_hdr)) { in do_fpga_loadmk() 334 noffset = fit_image_get_node(fit_hdr, fit_uname); in do_fpga_loadmk() 341 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga_loadmk() 347 if (fit_image_get_data(fit_hdr, noffset, &fit_data, in do_fpga_loadmk()
|
H A D | fdc.c | 643 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()
|
H A D | nand.c | 853 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()
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | mc.c | 117 void *fit_hdr; in parse_mc_firmware_fit_image() local 123 fit_hdr = (void *)mc_fw_addr; in parse_mc_firmware_fit_image() 126 format = genimg_get_format(fit_hdr); in parse_mc_firmware_fit_image() 133 if (!fit_check_format(fit_hdr)) { in parse_mc_firmware_fit_image() 138 node_offset = fit_image_get_node(fit_hdr, uname); in parse_mc_firmware_fit_image() 146 if (!(fit_image_verify(fit_hdr, node_offset))) { in parse_mc_firmware_fit_image() 152 fit_image_get_data(fit_hdr, node_offset, &data, &size); in parse_mc_firmware_fit_image()
|
/openbmc/u-boot/common/ |
H A D | image-fit.c | 1731 void *fit_hdr; in fit_get_node_from_config() local 1738 fit_hdr = map_sysmem(addr, 0); in fit_get_node_from_config() 1739 cfg_noffset = fit_conf_get_node(fit_hdr, images->fit_uname_cfg); in fit_get_node_from_config() 1745 noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name); in fit_get_node_from_config()
|
/openbmc/u-boot/include/ |
H A D | image.h | 1005 static inline const char *fit_get_name(const void *fit_hdr, in fit_get_name() argument 1008 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()
|