]> git.sur5r.net Git - u-boot/blobdiff - tools/imximage.c
efi_loader: use constants in efi_allocate_pages()
[u-boot] / tools / imximage.c
index eb7e682038d0c7f83e7c2e1f74cd31ccb6c6cc42..ed9d93590316614bc8880ea94b51385b2f66b8ba 100644 (file)
@@ -777,11 +777,6 @@ static uint32_t parse_cfg_file(struct imx_header *imxhdr, char *name)
        (*set_dcd_rst)(imxhdr, dcd_len, name, lineno);
        fclose(fd);
 
-       /* Exit if there is no BOOT_FROM field specifying the flash_offset */
-       if (imximage_ivt_offset == FLASH_OFFSET_UNDEFINED) {
-               fprintf(stderr, "Error: No BOOT_FROM tag in %s\n", name);
-               exit(EXIT_FAILURE);
-       }
        return dcd_len;
 }