On Thursday 16 June 2016 12:56 AM, Andreas Dannenberg wrote:
> From: Madan Srinivas <mad...@ti.com>
> 
> Adds a board specific FIT image post processing function when u-boot is
> compiled for the high-secure (HS) device variant.
> 
> Signed-off-by: Madan Srinivas <mad...@ti.com>
> Signed-off-by: Andreas Dannenberg <dannenb...@ti.com>
> ---
>  board/ti/am43xx/board.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
> index f005762..fc0b38b 100644
> --- a/board/ti/am43xx/board.c
> +++ b/board/ti/am43xx/board.c
> @@ -862,3 +862,10 @@ int board_fit_config_name_match(const char *name)
>               return -1;
>  }
>  #endif
> +
> +#ifdef CONFIG_TI_SECURE_DEVICE

For dra7 platforms CONFIG_SECURE_BOOT is being used to define this
function. Can this be aligned for all platforms?

Thanks and regards,
Lokesh

> +void board_fit_image_post_process(void **p_image, size_t *p_size)
> +{
> +     secure_boot_verify_image(p_image, p_size);
> +}
> +#endif
> 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to