mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
mkimage: Show the external-offset error
This is a debug message at present, which is not very helpful. Print out the error so that action can be taken. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1e18a69394
commit
206117afd1
1 changed files with 3 additions and 2 deletions
|
@ -525,8 +525,9 @@ static int fit_extract_data(struct image_tool_params *params, const char *fname)
|
|||
/* Check if an offset for the external data was set. */
|
||||
if (params->external_offset > 0) {
|
||||
if (params->external_offset < new_size) {
|
||||
debug("External offset %x overlaps FIT length %x\n",
|
||||
params->external_offset, new_size);
|
||||
fprintf(stderr,
|
||||
"External offset %x overlaps FIT length %x\n",
|
||||
params->external_offset, new_size);
|
||||
ret = -EINVAL;
|
||||
goto err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue