mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02: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:
@@ -1259,7 +1259,14 @@ int fit_image_verify_with_data(const void *fit, int image_noffset,
|
|||||||
size_t size);
|
size_t size);
|
||||||
|
|
||||||
int fit_image_verify(const void *fit, int noffset);
|
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);
|
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_all_image_verify(const void *fit);
|
||||||
int fit_config_decrypt(const void *fit, int conf_noffset);
|
int fit_config_decrypt(const void *fit, int conf_noffset);
|
||||||
int fit_image_check_os(const void *fit, int noffset, uint8_t os);
|
int fit_image_check_os(const void *fit, int noffset, uint8_t os);
|
||||||
|
Reference in New Issue
Block a user