mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-24 10:52:13 +01:00
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>
This commit is contained in:
parent
4c76f5e49a
commit
bdfa1b6785
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user