Lines Matching refs:img
293 int ahab_verify_cntr_image(struct boot_img_t *img, int image_index)
300 printf("Authenticate img %d failed, return %d, resp 0x%x\n",
332 struct boot_img_t *img;
370 img = (struct boot_img_t *)(addr +
374 debug("img %d, dst 0x%x, src 0x%lx, size 0x%x\n",
375 i, (uint32_t)img->dst, img->offset + addr, img->size);
377 memcpy((void *)img->dst, (const void *)(img->offset + addr),
378 img->size);
380 s = img->dst & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
381 e = ALIGN(img->dst + img->size, CONFIG_SYS_CACHELINE_SIZE) - 1;
385 ret = ahab_verify_cntr_image(img, i);