Home
last modified time | relevance | path

Searched refs:image_size_sectors (Results 1 – 2 of 2) sorted by relevance

/u-boot/common/spl/
A Dspl_sata.c38 u32 image_size_sectors; in spl_sata_load_image_raw() local
50 image_size_sectors = DIV_ROUND_UP(spl_image->size, stor_dev->blksz); in spl_sata_load_image_raw()
51 count = blk_dread(stor_dev, sector, image_size_sectors, in spl_sata_load_image_raw()
53 if (count != image_size_sectors) in spl_sata_load_image_raw()
A Dspl_mmc.c23 u32 image_size_sectors; in mmc_load_legacy() local
32 image_size_sectors = (spl_image->size + mmc->read_bl_len - 1) / in mmc_load_legacy()
36 count = blk_dread(mmc_get_blk_desc(mmc), sector, image_size_sectors, in mmc_load_legacy()
38 debug("read %x sectors to %lx\n", image_size_sectors, in mmc_load_legacy()
40 if (count != image_size_sectors) in mmc_load_legacy()

Completed in 4 milliseconds