From 15e7c681e171a761609bbf1571dc81486ba783af Mon Sep 17 00:00:00 2001 From: Udit Agarwal Date: Wed, 16 Aug 2017 07:13:29 -0400 Subject: LS2080ARDB: QSPI boot: Secure Boot image validation Adds header address for PPA to be validated during ESBC phase for ARCH_LS2088 and QSPI_BOOT. Moves sec_init prior to ppa_init(). It must be initialized before the PPA. Signed-off-by: Udit Agarwal [YS: revised commit message] Reviewed-by: York Sun --- board/freescale/ls2080ardb/ls2080ardb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/freescale/ls2080ardb') diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index 07ba0266d5..666562d106 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/board/freescale/ls2080ardb/ls2080ardb.c @@ -218,6 +218,10 @@ int board_init(void) #ifdef CONFIG_FSL_QIXIS QIXIS_WRITE(rst_ctl, QIXIS_RST_CTL_RESET_EN); #endif + +#ifdef CONFIG_FSL_CAAM + sec_init(); +#endif #ifdef CONFIG_FSL_LS_PPA ppa_init(); #endif -- cgit v1.2.3