[U-Boot] [RFC 8/9] arm: am4x: add FIT image post process function
Lokesh Vutla
lokeshvutla at ti.com
Fri Jun 17 06:27:54 CEST 2016
On Thursday 16 June 2016 12:56 AM, Andreas Dannenberg wrote:
> From: Madan Srinivas <madans at 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 <madans at ti.com>
> Signed-off-by: Andreas Dannenberg <dannenberg at 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
>
More information about the U-Boot
mailing list