The upcoming FIT overlay support requires these helpers for performing check on a fit image. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- common/image-fit.c | 2 +- include/image-fit.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index 24a733cd6b6e..9480d7963f2a 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -675,7 +675,7 @@ int fit_open_image(struct fit_handle *handle, void *configuration, return 0; } -static int fit_config_verify_signature(struct fit_handle *handle, struct device_node *conf_node) +int fit_config_verify_signature(struct fit_handle *handle, struct device_node *conf_node) { struct device_node *sig_node; int ret = -EINVAL; diff --git a/include/image-fit.h b/include/image-fit.h index 416f1f2c1896..f8321aa87e11 100644 --- a/include/image-fit.h +++ b/include/image-fit.h @@ -37,6 +37,7 @@ int fit_open_image(struct fit_handle *handle, void *configuration, int fit_get_image_address(struct fit_handle *handle, void *configuration, const char *name, const char *property, unsigned long *address); +int fit_config_verify_signature(struct fit_handle *handle, struct device_node *conf_node); void fit_close(struct fit_handle *handle); -- 2.39.2