]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bootstage: Drop BOOTSTAGE_ID_FIT_KERNEL_INFO
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:03 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
This is a misnomer since we don't necessarily know that the image is a
FIT. Use the existing BOOTSTAGE_ID_CHECK_IMAGETYPE instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c
include/bootstage.h

index a23c791a9e15dd8856eba3b0f772c91b24eaac46..9bd93f5dee7aa98ebef0538bf7e6c5ae74df8176 100644 (file)
@@ -233,7 +233,7 @@ static int boot_get_kernel(const char *cmd_name, const char *addr_fit,
 #endif
        default:
                printf("Wrong Image Format for %s command\n", cmd_name);
-               bootstage_error(BOOTSTAGE_ID_FIT_KERNEL_INFO);
+               bootstage_error(BOOTSTAGE_ID_CHECK_IMAGETYPE);
                return -EBADF;
        }
 
index affb0e5c6a6a59cf30cceebd868d5daa5f372cb6..59a76d0f0c4005450eabebfc83c28d29fea9fa86 100644 (file)
@@ -147,7 +147,6 @@ enum bootstage_id {
 
        BOOTSTAGE_ID_FIT_CONFIG = 110,
        BOOTSTAGE_ID_FIT_TYPE,
-       BOOTSTAGE_ID_FIT_KERNEL_INFO,
 
        BOOTSTAGE_ID_FIT_COMPRESSION,
        BOOTSTAGE_ID_FIT_OS,