Home
last modified time | relevance | path

Searched refs:image_header (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/u-boot/common/spl/
H A Dspl_nor.c25 __maybe_unused const struct image_header *header; in spl_nor_load_image()
40 header = (const struct image_header *)CONFIG_SYS_OS_BASE; in spl_nor_load_image()
63 sizeof(struct image_header)), in spl_nor_load_image()
83 header = (const struct image_header *)CONFIG_SYS_UBOOT_BASE; in spl_nor_load_image()
96 (const struct image_header *)CONFIG_SYS_UBOOT_BASE); in spl_nor_load_image()
101 (void *)(CONFIG_SYS_UBOOT_BASE + sizeof(struct image_header)), in spl_nor_load_image()
H A Dspl_ram.c34 struct image_header *header; in spl_ram_load_image()
36 header = (struct image_header *)CONFIG_SPL_LOAD_FIT_ADDRESS; in spl_ram_load_image()
69 header = (struct image_header *)map_sysmem(u_boot_pos, 0); in spl_ram_load_image()
H A Dspl_ymodem.c79 struct image_header *ih; in spl_ymodem_load_image()
94 image_get_magic((struct image_header *)buf) == FDT_MAGIC) { in spl_ymodem_load_image()
112 ih = (struct image_header *)buf; in spl_ymodem_load_image()
123 ih = (struct image_header *)addr; in spl_ymodem_load_image()
H A Dspl_spi.c26 struct image_header *header) in spi_load_image_os()
76 struct image_header *header; in spl_spi_load_image()
120 (struct image_header *)CONFIG_SYS_LOAD_ADDR); in spl_spi_load_image()
H A Dspl_fat.c60 struct image_header *header; in spl_load_image_fat()
68 err = file_fat_read(filename, header, sizeof(struct image_header)); in spl_load_image_fat()
78 (struct image_header *)CONFIG_SYS_LOAD_ADDR); in spl_load_image_fat()
H A Dspl_ubi.c17 struct image_header *header; in spl_ubi_load_image()
56 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image()
H A Dspl_net.c28 struct image_header *header = (struct image_header *)load_addr; in spl_net_load_image()
H A Dspl_nand.c43 int offset, struct image_header *header) in spl_nand_load_element()
75 struct image_header *header; in spl_nand_load_image()
H A Dspl_ext.c15 struct image_header *header; in spl_load_image_ext()
41 err = ext4fs_read((char *)header, 0, sizeof(struct image_header), &actlen); in spl_load_image_ext()
H A Dspl.c138 __weak struct image_header *spl_get_load_buffer(ssize_t offset, size_t size) in spl_get_load_buffer()
140 return (struct image_header *)(CONFIG_SYS_TEXT_BASE + offset); in spl_get_load_buffer()
169 const struct image_header *header) in spl_load_fit_image()
235 const struct image_header *header) in spl_parse_image_header()
245 u32 header_size = sizeof(struct image_header); in spl_parse_image_header()
H A Dspl_onenand.c19 struct image_header *header; in spl_onenand_load_image()
H A Dspl_xip.c25 return(spl_parse_image_header(spl_image, (const struct image_header *) in spl_xip()
H A Dspl_mmc.c19 ulong sector, struct image_header *header) in mmc_load_legacy()
57 struct image_header *header; in mmc_load_image_raw_sector()
/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/
H A Djz4780.c28 struct image_header *header; in board_init_f()
56 header = (struct image_header *)(CONFIG_SYS_TEXT_BASE - in board_init_f()
57 sizeof(struct image_header)); in board_init_f()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dcmd_mon.c20 struct image_header *header; in do_mon_install()
30 header = (struct image_header *)addr; in do_mon_install()
39 memcpy((void *)load_addr, (void *)(addr + sizeof(struct image_header)), in do_mon_install()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/
H A Dspl.c27 struct image_header *spl_get_load_buffer(ssize_t offset, size_t size) in spl_get_load_buffer()
29 return (struct image_header *)(CONFIG_SYS_TEXT_BASE); in spl_get_load_buffer()
/openbmc/u-boot/common/
H A Dboot_fit.c59 struct image_header *header; in locate_dtb_in_fit()
66 header = (struct image_header *)fit; in locate_dtb_in_fit()
H A Dsplash_source.c308 struct image_header *img_header; in splash_load_fit()
311 const size_t header_size = sizeof(struct image_header); in splash_load_fit()
318 img_header = (struct image_header *)bmp_load_addr; in splash_load_fit()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-flash.c115 static struct image_header_t image_header; variable
391 if (count < sizeof(image_header)) { in alloc_image_buf()
396 memcpy(&image_header, (void *)buffer, sizeof(image_header)); in alloc_image_buf()
397 image_data.size = be32_to_cpu(image_header.size); in alloc_image_buf()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dspl.c111 struct image_header *spl_get_load_buffer(ssize_t offset, size_t size) in spl_get_load_buffer()
113 return (struct image_header *)(CONFIG_SYS_LOAD_ADDR); in spl_get_load_buffer()
/openbmc/u-boot/include/
H A Dspl.h170 const struct image_header *header);
411 struct image_header *spl_get_load_buffer(ssize_t offset, size_t size);
/openbmc/u-boot/board/ti/ks2_evm/
H A Dboard.c62 struct image_header *spl_get_load_buffer(ssize_t offset, size_t size) in spl_get_load_buffer()
64 return (struct image_header *)(CONFIG_SYS_TEXT_BASE); in spl_get_load_buffer()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dspl_spi_sunxi.c278 struct image_header *header; in spl_spi_load_image()
279 header = (struct image_header *)(CONFIG_SYS_TEXT_BASE); in spl_spi_load_image()
/openbmc/u-boot/tools/
H A Dimx8mimage.c300 image_header_t image_header; in generate_ivt_for_fit() local
312 if (read(fd, (char *)&image_header, sizeof(image_header_t)) != in generate_ivt_for_fit()
319 if (be32_to_cpu(image_header.ih_magic) != FDT_MAGIC) { in generate_ivt_for_fit()
324 fit_size = fdt_totalsize(&image_header); in generate_ivt_for_fit()
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_sds.h91 struct image_info image_header; member

12