Lines Matching refs:sector
167 static int spl_load_fit_image(struct spl_load_info *info, ulong sector, in spl_load_fit_image() argument
233 sector + get_aligned_image_offset(info, offset), in spl_load_fit_image()
300 struct spl_load_info *info, ulong sector, in spl_fit_append_fdt() argument
318 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
345 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
389 ulong sector, void *fit_header, in spl_fit_load_blob() argument
427 count = info->read(info, sector, sectors, fit); in spl_fit_load_blob()
429 mtd_blk_map_fit(info->dev, sector, fit); in spl_fit_load_blob()
432 sector, sectors, fit, count); in spl_fit_load_blob()
465 int sector; in spl_load_kernel_fit() local
481 sector = part_info.start; in spl_load_kernel_fit()
483 sector = CONFIG_SPL_KERNEL_BOOT_SECTOR; in spl_load_kernel_fit()
485 printf("Trying kernel at 0x%x sector from '%s' part\n", sector, part_name); in spl_load_kernel_fit()
487 if (info->read(info, sector, 1, &fit_header) != 1) { in spl_load_kernel_fit()
497 fit = spl_fit_load_blob(info, sector, fit_header, &base_offset); in spl_load_kernel_fit()
535 ret = spl_load_fit_image(info, sector, fit, base_offset, in spl_load_kernel_fit()
582 ulong sector, void *fit_header) in spl_internal_load_simple_fit() argument
592 fit = spl_fit_load_blob(info, sector, fit_header, &base_offset); in spl_internal_load_simple_fit()
660 ret = spl_load_fit_image(info, sector, fit, base_offset, in spl_internal_load_simple_fit()
710 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_internal_load_simple_fit()
731 spl_fit_append_fdt(spl_image, info, sector, fit, in spl_internal_load_simple_fit()
750 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_internal_load_simple_fit()
761 spl_fit_append_fdt(&image_info, info, sector, in spl_internal_load_simple_fit()
793 struct spl_load_info *info, ulong sector, void *fit) in spl_load_simple_fit() argument
795 ulong sector_offs = sector; in spl_load_simple_fit()