mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
image: Add fallback for fit_config_verify
Add a fallback for this function so it can be used without regard to whether FIT_SIGNATURE is enabled or not. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3e4cbe184a
commit
b5fd7b4a31
1 changed files with 7 additions and 0 deletions
|
@ -1259,7 +1259,14 @@ int fit_image_verify_with_data(const void *fit, int image_noffset,
|
|||
size_t size);
|
||||
|
||||
int fit_image_verify(const void *fit, int noffset);
|
||||
#if CONFIG_IS_ENABLED(FIT_SIGNATURE)
|
||||
int fit_config_verify(const void *fit, int conf_noffset);
|
||||
#else
|
||||
static inline int fit_config_verify(const void *fit, int conf_noffset)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
int fit_all_image_verify(const void *fit);
|
||||
int fit_config_decrypt(const void *fit, int conf_noffset);
|
||||
int fit_image_check_os(const void *fit, int noffset, uint8_t os);
|
||||
|
|
Loading…
Reference in a new issue