Home
last modified time | relevance | path

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

/OK3568_Linux_fs/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()
75 data = (const unsigned char *)ptr + sizeof(image_header_t); in image_verify_header()
76 len = image_size - sizeof(image_header_t) ; in image_verify_header()
94 image_header_t * hdr = (image_header_t *)ptr; in image_set_header()
98 sizeof(image_header_t)), in image_set_header()
99 sbuf->st_size - sizeof(image_header_t)); in image_set_header()
[all …]
H A Dfit_image.c25 static image_header_t header;
887 sizeof(image_header_t),
H A Dkwbimage.c1256 - sizeof(image_header_t); in image_create_v1()
/OK3568_Linux_fs/u-boot/include/
H A Dimage.h324 } image_header_t; typedef
344 image_header_t *legacy_hdr_os; /* image header pointer */
345 image_header_t legacy_hdr_os_copy; /* header copy */
729 return (sizeof(image_header_t)); in image_get_header_size()
733 static inline uint32_t image_get_##f(const image_header_t *hdr) \
749 uint32_t image_get_load(const image_header_t *hdr); in image_get_hdr_l()
750 uint32_t image_get_ep(const image_header_t *hdr);
754 static inline uint8_t image_get_##f(const image_header_t *hdr) \
763 static inline char *image_get_name(const image_header_t *hdr)
768 static inline uint32_t image_get_data_size(const image_header_t *hdr) in image_get_data_size()
[all …]
H A Dbootm.h40 void lynxkdi_boot(image_header_t *hdr);
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Duimage.c53 static image_header_t *uimage_get_hdr(struct blk_desc *dev_desc, in uimage_get_hdr()
56 image_header_t *hdr; in uimage_get_hdr()
78 image_header_t *hdr; in uimage_load_bootables()
126 int uimage_sysmem_reserve_each(image_header_t *hdr, u32 *ramdisk_sz) in uimage_sysmem_reserve_each()
169 int uimage_sysmem_free_each(image_header_t *img, u32 ramdisk_sz) in uimage_sysmem_free_each()
191 image_header_t *hdr; in uimage_init_resource()
/OK3568_Linux_fs/u-boot/common/
H A Dimage.c43 static const image_header_t *image_get_ramdisk(ulong rd_addr, uint8_t arch,
198 uint32_t image_get_load(const image_header_t *hdr) in image_get_load()
206 uint32_t image_get_ep(const image_header_t *hdr) in image_get_ep()
216 int image_check_hcrc(const image_header_t *hdr) in image_check_hcrc()
220 image_header_t header; in image_check_hcrc()
231 int image_check_dcrc(const image_header_t *hdr) in image_check_dcrc()
253 ulong image_multi_count(const image_header_t *hdr) in image_multi_count()
286 void image_multi_getimg(const image_header_t *hdr, ulong idx, in image_multi_getimg()
322 static void image_print_type(const image_header_t *hdr) in image_print_type()
348 const image_header_t *hdr = (const image_header_t *)ptr; in image_print_contents()
[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 Dbootm.c835 static image_header_t *image_get_kernel(ulong img_addr, int verify) in image_get_kernel()
837 image_header_t *hdr = (image_header_t *)img_addr; in image_get_kernel()
892 image_header_t *hdr; in boot_get_kernel()
948 sizeof(image_header_t)); in boot_get_kernel()
H A Dimage-fdt.c39 static const image_header_t *image_get_fdt(ulong fdt_addr) in image_get_fdt()
41 const image_header_t *fdt_hdr = map_sysmem(fdt_addr, 0); in image_get_fdt()
361 const image_header_t *fdt_hdr; in boot_get_fdt()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-rockchip/
H A Duimage.h13 int uimage_sysmem_free_each(image_header_t *img, u32 ramdisk_sz);
14 int uimage_sysmem_reserve_each(image_header_t *hdr, u32 *ramdisk_sz);
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_decomp.c157 static int un_lzma(const image_header_t *hdr, int *err_algo) in un_lzma()
180 static int decompress_image(const image_header_t *hdr, int *err_algo) in decompress_image()
190 const image_header_t *hdr; in board_init_r()
/OK3568_Linux_fs/u-boot/cmd/
H A Dbootuimage.c29 image_header_t *hdr; in do_boot_uimage_ram()
56 image_header_t *img; in do_boot_uimage()
H A Ddisk.c20 image_header_t *hdr; in common_diskboot()
68 hdr = (image_header_t *) addr; in common_diskboot()
H A Dximg.c41 image_header_t *hdr = NULL; in do_imgextract()
77 hdr = (image_header_t *)addr; in do_imgextract()
H A Dfpga.c209 image_header_t *hdr = in do_fpga()
210 (image_header_t *)fpga_data; in do_fpga()
H A Dbootm.c476 const image_header_t *header; in do_imls_nand()
494 header = (const image_header_t *)buffer; in do_imls_nand()
H A Dsource.c31 const image_header_t *hdr; in source()
H A Dfdc.c639 image_header_t *hdr; /* used for fdc boot */ in do_fdcboot()
696 hdr = (image_header_t *)addr; in do_fdcboot()
H A Dnand.c858 image_header_t *hdr; in nand_load_image()
887 hdr = (image_header_t *)addr; in nand_load_image()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dopal-flash.c94 struct image_header_t { struct
115 static struct image_header_t image_header; argument
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dbootm.c76 image_header_t *hdr; in boot_prep_linux()
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_sdp.c707 image_header_t *header = in sdp_handle_in_ep()