Searched refs:hdr_sectors (Results 1 - 1 of 1) sorted by relevance

/u-boot/drivers/fastboot/
H A Dfb_mmc.c292 lbaint_t hdr_sectors; /* boot image header sectors count */ local
297 hdr_sectors = DIV_ROUND_UP(sizeof(struct andr_boot_img_hdr_v0), sector_size);
298 if (hdr_sectors == 0) {
305 res = blk_dread(dev_desc, info->start, hdr_sectors, (void *)hdr);
306 if (res != hdr_sectors) {
320 return hdr_sectors;
339 lbaint_t hdr_sectors; /* boot image header sectors */ local
364 hdr_sectors = fb_mmc_get_boot_header(dev_desc, &info, hdr, response);
365 if (hdr_sectors == 0) {
396 ramdisk_buffer = (u8 *)hdr + (hdr_sectors * inf
[all...]

Completed in 88 milliseconds