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:
parent
3029e24f60
commit
a515b6d27e
|
|
@ -234,8 +234,8 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,
|
||||||
src = (void *)data;
|
src = (void *)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_FIT_SIGNATURE
|
/* Check hashes and signature */
|
||||||
printf("## Checking hash(es) for Image %s ... ",
|
printf("## Checking %s ... ",
|
||||||
fit_get_name(fit, node, NULL));
|
fit_get_name(fit, node, NULL));
|
||||||
#ifdef CONFIG_FIT_SPL_PRINT
|
#ifdef CONFIG_FIT_SPL_PRINT
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
@ -245,7 +245,6 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,
|
||||||
src, length))
|
src, length))
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
puts("OK\n");
|
puts("OK\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_FIT_IMAGE_POST_PROCESS
|
#ifdef CONFIG_SPL_FIT_IMAGE_POST_PROCESS
|
||||||
board_fit_image_post_process(&src, &length);
|
board_fit_image_post_process(&src, &length);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue