mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00: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
2 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue