mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
Revert "imximage: Remove failure when no IVT offset is found"
This reverts commitb5b0e4e351
. Commitf916757300
("imx: Create distinct pre-processed mkimage config files") provided a proper fix for the parallel mkimage config files build failure, so the original workaround can be safely reverted now. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
feb14c6348
commit
f3c326287e
1 changed files with 5 additions and 0 deletions
|
@ -777,6 +777,11 @@ static uint32_t parse_cfg_file(struct imx_header *imxhdr, char *name)
|
||||||
(*set_dcd_rst)(imxhdr, dcd_len, name, lineno);
|
(*set_dcd_rst)(imxhdr, dcd_len, name, lineno);
|
||||||
fclose(fd);
|
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;
|
return dcd_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue