/openbmc/u-boot/common/spl/ |
H A D | spl_nor.c | 25 __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 D | spl_ram.c | 34 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 D | spl_ymodem.c | 79 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 D | spl_spi.c | 26 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 D | spl_fat.c | 60 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 D | spl_ubi.c | 17 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 D | spl_net.c | 28 struct image_header *header = (struct image_header *)load_addr; in spl_net_load_image()
|
H A D | spl_nand.c | 43 int offset, struct image_header *header) in spl_nand_load_element() 75 struct image_header *header; in spl_nand_load_image()
|
H A D | spl_ext.c | 15 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 D | spl.c | 138 __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 D | spl_onenand.c | 19 struct image_header *header; in spl_onenand_load_image()
|
H A D | spl_xip.c | 25 return(spl_parse_image_header(spl_image, (const struct image_header *) in spl_xip()
|
H A D | spl_mmc.c | 19 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 D | jz4780.c | 28 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 D | cmd_mon.c | 20 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 D | spl.c | 27 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 D | boot_fit.c | 59 struct image_header *header; in locate_dtb_in_fit() 66 header = (struct image_header *)fit; in locate_dtb_in_fit()
|
H A D | splash_source.c | 308 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 D | opal-flash.c | 115 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 D | spl.c | 111 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 D | spl.h | 170 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 D | board.c | 62 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 D | spl_spi_sunxi.c | 278 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 D | imx8mimage.c | 300 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 D | aic94xx_sds.h | 91 struct image_info image_header; member
|