From fad966616319465cb01d735ab30f218927351a0f Mon Sep 17 00:00:00 2001 From: Udit Agarwal Date: Mon, 28 Aug 2017 16:21:26 +0530 Subject: LS2080AQDS: Move sec_init prior to ppa_init. SEC must be initialised before PPA is validated, so call sec_init() ahead of ppa_init(). Signed-off-by: Udit Agarwal diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index f36fb98..6071077 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -227,13 +227,12 @@ int board_init(void) select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT); rtc_enable_32khz_output(); -#ifdef CONFIG_FSL_LS_PPA - ppa_init(); -#endif - #ifdef CONFIG_FSL_CAAM sec_init(); #endif +#ifdef CONFIG_FSL_LS_PPA + ppa_init(); +#endif return 0; } -- cgit v0.10.2