[U-Boot] [PATCH 1/1] board/freescale/ls1028a: Secure boot: Adds sec_init call.

Adds sec_init call to initialise the job ring parameters for secure boot operations.
Signed-off-by: Udit Agarwal udit.agarwal@nxp.com --- board/freescale/ls1028a/ls1028a.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c index 6b126bcf44..a92b5b1079 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

-----Original Message----- From: Udit Agarwal Sent: Monday, September 30, 2019 3:47 PM To: u-boot@lists.denx.de Cc: Ruchika Gupta ruchika.gupta@nxp.com; Arun Pathak arun.pathak@nxp.com; Jagdish Gediya jagdish.gediya@nxp.com; Priyanka Jain priyanka.jain@nxp.com; Udit Agarwal udit.agarwal@nxp.com Subject: [PATCH 1/1] board/freescale/ls1028a: Secure boot: Adds sec_init call.
Adds sec_init call to initialise the job ring parameters for secure boot operations.
Signed-off-by: Udit Agarwal udit.agarwal@nxp.com
board/freescale/ls1028a/ls1028a.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c index 6b126bcf44..a92b5b1079 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
2.17.1
Slight update in subject Applied to fsl-qoriq master, awaiting upstream.
Thanks priyankajain
participants (2)
-
Priyanka Jain
-
Udit Agarwal