Home
last modified time | relevance | path

Searched refs:image_header_t (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/tools/
H A Ddefault_image.c23 static image_header_t header;
47 image_header_t header; in image_verify_header()
48 image_header_t *hdr = &header; in image_verify_header()
55 memcpy(hdr, ptr, sizeof(image_header_t)); in image_verify_header()
64 len = sizeof(image_header_t); in image_verify_header()
96 image_header_t * hdr = (image_header_t *)ptr; in image_set_header()
100 sizeof(image_header_t)), in image_set_header()
101 sbuf->st_size - sizeof(image_header_t)); in image_set_header()
133 sizeof(image_header_t)); in image_set_header()
140 const image_header_t *hdr = (const image_header_t *)ptr; in image_extract_subimage()
[all …]
H A Dimx8mimage.c300 image_header_t image_header; in generate_ivt_for_fit()
312 if (read(fd, (char *)&image_header, sizeof(image_header_t)) != in generate_ivt_for_fit()
313 sizeof(image_header_t)) { in generate_ivt_for_fit()
509 file_off += sbuf.st_size + sizeof(image_header_t); in build_image()
H A Dfit_image.c24 static image_header_t header;
826 sizeof(image_header_t),
H A Dkwbimage.c1256 - sizeof(image_header_t); in image_create_v1()
/openbmc/u-boot/include/
H A Dimage.h350 } image_header_t; typedef
370 image_header_t *legacy_hdr_os; /* image header pointer */
371 image_header_t legacy_hdr_os_copy; /* header copy */
739 return (sizeof(image_header_t)); in image_get_header_size()
765 static inline char *image_get_name(const image_header_t *hdr)
786 static inline ulong image_get_data(const image_header_t *hdr) in image_get_data()
834 int image_check_hcrc(const image_header_t *hdr);
835 int image_check_dcrc(const image_header_t *hdr);
843 static inline int image_check_magic(const image_header_t *hdr) in image_check_magic()
861 ulong image_multi_count(const image_header_t *hdr);
[all …]
H A Dbootm.h41 void lynxkdi_boot(image_header_t *hdr);
/openbmc/u-boot/common/
H A Dimage.c200 int image_check_hcrc(const image_header_t *hdr) in image_check_hcrc()
204 image_header_t header; in image_check_hcrc()
215 int image_check_dcrc(const image_header_t *hdr) in image_check_dcrc()
237 ulong image_multi_count(const image_header_t *hdr) in image_multi_count()
270 void image_multi_getimg(const image_header_t *hdr, ulong idx, in image_multi_getimg()
306 static void image_print_type(const image_header_t *hdr) in image_print_type()
332 const image_header_t *hdr = (const image_header_t *)ptr; in image_print_contents()
399 const image_header_t *rd_hdr = (const image_header_t *)rd_addr; in image_get_ramdisk()
871 const image_header_t *hdr; in genimg_get_format()
873 hdr = (const image_header_t *)img_addr; in genimg_get_format()
[all …]
H A Dbootm_os.c56 void (*loader)(bd_t *, image_header_t *, char *, char *); in do_bootm_netbsd()
57 image_header_t *os_hdr, *hdr; in do_bootm_netbsd()
104 loader = (void (*)(bd_t *, image_header_t *, char *, char *))images->ep; in do_bootm_netbsd()
128 image_header_t *hdr = &images->legacy_hdr_os_copy; in do_bootm_lynxkdi()
140 lynxkdi_boot((image_header_t *)hdr); in do_bootm_lynxkdi()
H A Dimage-fdt.c37 static const image_header_t *image_get_fdt(ulong fdt_addr) in image_get_fdt()
39 const image_header_t *fdt_hdr = map_sysmem(fdt_addr, 0); in image_get_fdt()
267 const image_header_t *fdt_hdr; in boot_get_fdt()
H A Dbootm.c827 static image_header_t *image_get_kernel(ulong img_addr, int verify) in image_get_kernel()
829 image_header_t *hdr = (image_header_t *)img_addr; in image_get_kernel()
884 image_header_t *hdr; in boot_get_kernel()
939 sizeof(image_header_t)); in boot_get_kernel()
/openbmc/u-boot/include/tee/
H A Doptee.h31 static inline uint32_t optee_image_get_entry_point(const image_header_t *hdr) in optee_image_get_entry_point()
38 static inline uint32_t optee_image_get_load_addr(const image_header_t *hdr) in optee_image_get_load_addr()
/openbmc/u-boot/cmd/
H A Ddisk.c19 image_header_t *hdr; in common_diskboot()
67 hdr = (image_header_t *) addr; in common_diskboot()
H A Dximg.c40 image_header_t *hdr = NULL; in do_imgextract()
76 hdr = (image_header_t *)addr; in do_imgextract()
H A Dsource.c48 const image_header_t *hdr; in source()
H A Dbootm.c475 const image_header_t *header; in do_imls_nand()
493 header = (const image_header_t *)buffer; in do_imls_nand()
H A Dfpga.c286 image_header_t *hdr = (image_header_t *)fpga_data; in do_fpga_loadmk()
H A Dfdc.c638 image_header_t *hdr; /* used for fdc boot */ in do_fdcboot()
695 hdr = (image_header_t *)addr; in do_fdcboot()
H A Dnand.c850 image_header_t *hdr; in nand_load_image()
879 hdr = (image_header_t *)addr; in nand_load_image()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-flash.c94 struct image_header_t { struct
115 static struct image_header_t image_header; argument
/openbmc/u-boot/arch/x86/lib/
H A Dbootm.c71 image_header_t *hdr; in boot_prep_linux()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dhab.c315 return (image_get_image_size((image_header_t *)img_addr) in get_image_ivt_offset()