aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-18 14:05:03 -0700
committerTom Rini <trini@konsulko.com>2023-12-13 11:51:24 -0500
commitbdfa1b67850f5fc775ca00a78993ae1a8178ff1d (patch)
tree5c9af033f652583a86585996cb5861f213475f75
parent4c76f5e49a499219cde94de5d0b0e007d3d70f79 (diff)
bootstage: Drop BOOTSTAGE_ID_FIT_KERNEL_INFO
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>
-rw-r--r--boot/bootm.c2
-rw-r--r--include/bootstage.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index a23c791a9e..9bd93f5dee 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -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;
}
diff --git a/include/bootstage.h b/include/bootstage.h
index affb0e5c6a..59a76d0f0c 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -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,