aboutsummaryrefslogtreecommitdiff
path: root/cmd/fpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fpga.c')
-rw-r--r--cmd/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fpga.c b/cmd/fpga.c
index 8ae1c93..51410a8 100644
--- a/cmd/fpga.c
+++ b/cmd/fpga.c
@@ -330,7 +330,7 @@ static int do_fpga_loadmk(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_FAILURE;
}
- if (!fit_check_format(fit_hdr)) {
+ if (fit_check_format(fit_hdr, IMAGE_SIZE_INVAL)) {
puts("Bad FIT image format\n");
return CMD_RET_FAILURE;
}