Lines Matching defs:image
57 /* load image to MSS RAM using DMA */
101 ERROR("image is too big to fit into MSS CM3 memory\n");
106 * Copy the MSS FW image to MSS SRAM by the CPU first, then run
170 /* Load image to MSS AP and do PM related initialization
208 /* TODO: add checksum to image */
209 VERBOSE("Send info about the SCP_BL2 image to be transferred to SCP\n");
218 /* check that the image was loaded successfully */
226 /* Load CM3 image (single_img) to CM3 pointed by cm3_type */
236 NOTICE("Load image to AP%d MSS\n", ap_idx);
255 /* Check if we should load this image
259 NOTICE("Skipping MSS CP%d related image\n",
264 NOTICE("Load image to CP%d MSS AP%d\n",
282 NOTICE("Skipping MG CP%d related image\n",
286 NOTICE("Load image to CP%d MG\n", cp_index);
303 * To achieve that, the scp_bl2 image in fact is file containing up to 5
304 * concatenated firmwares and this routine splits concatenated image into single
307 static int split_and_load_bl2_image(void *image)
314 file_hdr = (file_header_t *)image;
322 ERROR("SCP_BL2 concatenated image contains too many images\n");
326 img_hdr = (img_header_t *)((uintptr_t)image + sizeof(file_header_t));
327 single_img = (uintptr_t)image + sizeof(file_header_t) +
350 int scp_bootloader_transfer(void *image, unsigned int image_size)
353 assert((uintptr_t) image == SCP_BL2_BASE);
359 ERROR("SCP_BL2 image size can't be 0 (current size = 0x%x)\n",
364 if (split_and_load_bl2_image(image))