diff options
author | Udit Agarwal <udit.agarwal@nxp.com> | 2017-02-03 22:53:38 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-03-28 08:58:46 -0700 |
commit | a8c6fd4ec11a3bd9cfd3bdb6350686d497158d62 (patch) | |
tree | cbed588d3cc65335a755f87ce2139117a048199d /board/freescale/ls2080aqds/ls2080aqds.c | |
parent | 350e16cfb460e6910c4fa30119a3adde91243961 (diff) | |
download | u-boot-a8c6fd4ec11a3bd9cfd3bdb6350686d497158d62.tar.gz |
armv8: LS2080A: Move sec_init to board_init
Moves sec_init to board_init rather than in misc_init function beacuse
PPA will be initialised in board_init function and for PPA validation
sec_init has to be done prior to PPA init.
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls2080aqds/ls2080aqds.c')
-rw-r--r-- | board/freescale/ls2080aqds/ls2080aqds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index 277013bfcc..e1de799ee5 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -224,6 +224,9 @@ int board_init(void) #endif select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT); rtc_enable_32khz_output(); +#ifdef CONFIG_FSL_CAAM + sec_init(); +#endif return 0; } @@ -266,9 +269,6 @@ void detail_board_ddr_info(void) #if defined(CONFIG_ARCH_MISC_INIT) int arch_misc_init(void) { -#ifdef CONFIG_FSL_CAAM - sec_init(); -#endif return 0; } #endif |