From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Fri, 17 Jun 2016 09:57:54 +0530 Subject: [U-Boot] [RFC 8/9] arm: am4x: add FIT image post process function In-Reply-To: <1466018801-18044-9-git-send-email-dannenberg@ti.com> References: <1466018801-18044-1-git-send-email-dannenberg@ti.com> <1466018801-18044-9-git-send-email-dannenberg@ti.com> Message-ID: <57637C4A.5050800@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 16 June 2016 12:56 AM, Andreas Dannenberg wrote: > From: Madan Srinivas > > 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 > Signed-off-by: Andreas Dannenberg > --- > 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 >