]> Git Repo - J-u-boot.git/blobdiff - tools/fit_common.c
tools: kwbimage: Set BOOT_FROM by default to SPI
[J-u-boot.git] / tools / fit_common.c
index cdf987d3c1389004ccf98135cd1d88aa54e174ff..52b63296f8918c59f181b1d49d2371fc2b46a88b 100644 (file)
@@ -26,7 +26,8 @@
 int fit_verify_header(unsigned char *ptr, int image_size,
                        struct image_tool_params *params)
 {
-       if (fdt_check_header(ptr) != EXIT_SUCCESS || !fit_check_format(ptr))
+       if (fdt_check_header(ptr) != EXIT_SUCCESS ||
+           fit_check_format(ptr, IMAGE_SIZE_INVAL))
                return EXIT_FAILURE;
 
        return EXIT_SUCCESS;
This page took 0.023904 seconds and 4 git commands to generate.