[U-Boot,v4] board/freescale/ls1028a: Secure boot: Adds sec_init call
diff mbox series

Message ID 20191120195315.2865-1-udit.agarwal@nxp.com
State Not Applicable
Headers show
Series
  • [U-Boot,v4] board/freescale/ls1028a: Secure boot: Adds sec_init call
Related show

Commit Message

Udit Agarwal Nov. 20, 2019, 8:49 a.m. UTC
Call sec_init function to initialise the job ring
parameters for secure boot operations.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
Changes in V4:
Corrects commit message.

 board/freescale/ls1028a/ls1028a.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c
index c9e6c4aa6c..ed98eedfbe 100644
--- a/board/freescale/ls1028a/ls1028a.c
+++ b/board/freescale/ls1028a/ls1028a.c
@@ -64,6 +64,10 @@  int board_init(void)
 	gd->env_addr = (ulong)&default_environment[0];
 #endif
 
+#ifdef CONFIG_FSL_CAAM
+	sec_init();
+#endif
+
 #ifdef CONFIG_FSL_LS_PPA
 	ppa_init();
 #endif