fit: spl: verify hashes of images by default

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Iea4eabcd87ea612eeeb7cb5e34ce26adee053557
This commit is contained in:
Joseph Chen 2020-04-16 14:16:52 +08:00
parent 3029e24f60
commit a515b6d27e
1 changed files with 2 additions and 3 deletions

View File

@ -234,8 +234,8 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,
src = (void *)data;
}
#ifdef CONFIG_SPL_FIT_SIGNATURE
printf("## Checking hash(es) for Image %s ... ",
/* Check hashes and signature */
printf("## Checking %s ... ",
fit_get_name(fit, node, NULL));
#ifdef CONFIG_FIT_SPL_PRINT
printf("\n");
@ -245,7 +245,6 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,
src, length))
return -EPERM;
puts("OK\n");
#endif
#ifdef CONFIG_SPL_FIT_IMAGE_POST_PROCESS
board_fit_image_post_process(&src, &length);