Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/fastboot/
H A Dfb_mmc.c197 u32 ramdisk_sector_start; in fb_mmc_update_zimage() local
237 ramdisk_sector_start = info.start + sectors_per_page; in fb_mmc_update_zimage()
238 ramdisk_sector_start += DIV_ROUND_UP(hdr->kernel_size, hdr->page_size) * in fb_mmc_update_zimage()
245 res = blk_dread(dev_desc, ramdisk_sector_start, ramdisk_sectors, in fb_mmc_update_zimage()
276 ramdisk_sector_start = info.start + sectors_per_page; in fb_mmc_update_zimage()
277 ramdisk_sector_start += DIV_ROUND_UP(hdr->kernel_size, hdr->page_size) * in fb_mmc_update_zimage()
279 res = blk_dwrite(dev_desc, ramdisk_sector_start, ramdisk_sectors, in fb_mmc_update_zimage()