Lines Matching refs:optarg
712 pblimg.addr = strtoull(optarg, &ptr, 16); in main()
714 fprintf(stderr, "CMD Error: invalid load or destination address %s\n", optarg); in main()
720 pblimg.rcw_nm = optarg; in main()
732 pblimg.ep = strtoull(optarg, &ptr, 16); in main()
735 "CMD Error: Invalid entry point %s\n", optarg); in main()
743 pblimg.sec_imgnm = optarg; in main()
754 tmp = atoi(optarg); in main()
780 pblimg.imagefile = optarg; in main()
787 if (strcmp(optarg, "qspi") == 0) { in main()
789 } else if (strcmp(optarg, "nor") == 0) { in main()
791 } else if (strcmp(optarg, "nand") == 0) { in main()
793 } else if (strcmp(optarg, "sd") == 0) { in main()
795 } else if (strcmp(optarg, "emmc") == 0) { in main()
797 } else if (strcmp(optarg, "flexspi_nor") == 0) { in main()
799 } else if (strcmp(optarg, "flexspi_nand") == 0) { in main()
801 } else if (strcmp(optarg, "flexspi_nand2k") == 0) { in main()
810 pblimg.src_addr = strtoull(optarg, &ptr, 16); in main()
813 "CMD Error: Invalid src offset %s\n", optarg); in main()