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 <chenjh@rock-chips.com>
Change-Id: Ibcce0d388de64f3809e5e302d1c5cffc01e6c290
This commit is contained in:
Joseph Chen 2020-04-07 11:45:38 +08:00 committed by Jianhong Chen
parent 0583701d19
commit 6ba9d88bbb
1 changed files with 1 additions and 1 deletions

View File

@ -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");