From 6ba9d88bbb2c69dcfe0c87c593a15b277735c2a9 Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Tue, 7 Apr 2020 11:45:38 +0800 Subject: [PATCH] fit: drop images->verify condition from verify process fit verify process should not depend on this condition, because it's set by env variable "verify" which maybe can be updated by fw_setenv tool in userspace. Signed-off-by: Joseph Chen Change-Id: Ibcce0d388de64f3809e5e302d1c5cffc01e6c290 --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index 29c38aa356..1b0d567495 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1986,7 +1986,7 @@ int fit_image_load_index(bootm_headers_t *images, ulong addr, if (image_type == IH_TYPE_KERNEL) { /* Remember (and possibly verify) this config */ images->fit_uname_cfg = fit_base_uname_config; - if (IMAGE_ENABLE_VERIFY && images->verify) { + if (IMAGE_ENABLE_VERIFY) { puts(" Verifying Hash Integrity ... "); if (fit_config_verify(fit, cfg_noffset)) { puts("Bad Data Hash\n");