diff options
Diffstat (limited to 'cmd/source.c')
-rw-r--r-- | cmd/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/source.c b/cmd/source.c index b6c709a..71f7152 100644 --- a/cmd/source.c +++ b/cmd/source.c @@ -107,7 +107,7 @@ int image_source_script(ulong addr, const char *fit_uname) #if defined(CONFIG_FIT) case IMAGE_FORMAT_FIT: fit_hdr = buf; - if (!fit_check_format (fit_hdr)) { + if (fit_check_format(fit_hdr, IMAGE_SIZE_INVAL)) { puts ("Bad FIT image format\n"); return 1; } |