Lines Matching refs:spl_image
170 struct spl_image_info *spl_image, in rkfw_load_trust() argument
190 BL31_IMAGE_NAME, &spl_image->entry_point); in rkfw_load_trust()
196 BL32_IMAGE_NAME, &spl_image->entry_point_bl32); in rkfw_load_trust()
199 spl_image->entry_point_bl32 = -1; /* Not exist */ in rkfw_load_trust()
213 struct spl_image_info *spl_image, in rkfw_load_trust() argument
230 spl_image->entry_point = (uintptr_t)hdr.loader_load_addr; in rkfw_load_trust()
256 struct spl_image_info *spl_image, u32 try_count) in rkfw_load_uboot() argument
293 spl_image->entry_point_bl33 = (uintptr_t)hdr.loader_load_addr; in rkfw_load_uboot()
296 spl_image->entry_point_os = (uintptr_t)hdr.loader_load_addr; in rkfw_load_uboot()
302 struct spl_image_info *spl_image, u32 try_count) in rkfw_load_kernel() argument
458 spl_image->fdt_addr = (void *)CONFIG_SPL_FDT_ADDR; in rkfw_load_kernel()
460 spl_image->entry_point_os = (uintptr_t)CONFIG_SPL_KERNEL_ADDR; in rkfw_load_kernel()
463 spl_image->entry_point_bl33 = CONFIG_SPL_KERNEL_ADDR; in rkfw_load_kernel()
472 int spl_load_rkfw_image(struct spl_image_info *spl_image, in spl_load_rkfw_image() argument
495 if (spl_image->next_stage != SPL_NEXT_STAGE_UBOOT) in spl_load_rkfw_image()
498 ret = rkfw_load_trust(info, trust_sector, spl_image, in spl_load_rkfw_image()
506 ret = rkfw_load_uboot(info, uboot_sector, spl_image, try_count); in spl_load_rkfw_image()
512 ret = rkfw_load_kernel(info, boot_sector, spl_image, try_count); in spl_load_rkfw_image()
520 spl_image->fdt_addr = 0; in spl_load_rkfw_image()
523 spl_image->os = IH_OS_ARM_TRUSTED_FIRMWARE; in spl_load_rkfw_image()
525 spl_image->os = IH_OS_OP_TEE; in spl_load_rkfw_image()