Lines Matching refs:img_sp

656 	image_t *img_sp = image_stack;  in get_container_image_start_pos()  local
663 while (img_sp->option != NO_IMG) { in get_container_image_start_pos()
664 if (img_sp->option == APPEND) { in get_container_image_start_pos()
665 fd = fopen(img_sp->filename, "r"); in get_container_image_start_pos()
667 fprintf(stderr, "Fail open first container file %s\n", img_sp->filename); in get_container_image_start_pos()
689 img_sp++; in get_container_image_start_pos()
776 image_t *img_sp = image_stack; in build_container() local
807 img_sp = image_stack; in build_container()
810 while (img_sp->option != NO_IMG) { in build_container()
811 switch (img_sp->option) { in build_container()
822 check_file(&sbuf, img_sp->filename); in build_container()
823 tmp_filename = img_sp->filename; in build_container()
825 soc, img_sp, file_off, in build_container()
828 img_sp->src = file_off; in build_container()
839 check_file(&sbuf, img_sp->filename); in build_container()
840 tmp_filename = img_sp->filename; in build_container()
843 img_sp, in build_container()
847 img_sp->src = file_off; in build_container()
875 scfw_flags = img_sp->entry & 0xFFFF0000; in build_container()
878 if (file_off > img_sp->dst) { in build_container()
882 if (img_sp->dst != ALIGN(img_sp->dst, sector_size)) { in build_container()
886 file_off = img_sp->dst; in build_container()
893 custom_partition = img_sp->entry; in build_container()
896 fprintf(stderr, "unrecognized option in input stack (%d)\n", img_sp->option); in build_container()
899 img_sp++; /* advance index */ in build_container()
903 img_sp = image_stack; in build_container()
905 if (img_sp->option == APPEND) { in build_container()
906 copy_file(ofd, img_sp->filename, 0, 0); in build_container()
909 img_sp++; in build_container()
910 } while (img_sp->option != NO_IMG); in build_container()
938 img_sp = image_stack; in build_container()
939 while (img_sp->option != NO_IMG) { in build_container()
940 if (img_sp->option == M40 || img_sp->option == M41 || in build_container()
941 img_sp->option == AP || img_sp->option == DATA || in build_container()
942 img_sp->option == SCD || img_sp->option == SCFW || in build_container()
943 img_sp->option == SECO || img_sp->option == MSG_BLOCK) { in build_container()
944 copy_file_aligned(ofd, img_sp->filename, img_sp->src, in build_container()
947 img_sp++; in build_container()
955 image_t *img_sp = param_stack; in imx8image_copy_image() local
962 parse_cfg_file(img_sp, mparams->imagename); in imx8image_copy_image()
974 img_sp, false, fuse_version, sw_version, outfd); in imx8image_copy_image()