diff options
author | Udit Agarwal <udit.agarwal@nxp.com> | 2017-08-28 10:51:26 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-08-29 10:44:08 (GMT) |
commit | fad966616319465cb01d735ab30f218927351a0f (patch) | |
tree | 69fdfd22a0a6b480459509a70582bcd7ce9e0b48 /board/freescale/ls2080aqds/ls2080aqds.c | |
parent | 0a47941b312b98e621fc57b75c4799c8445dc7ce (diff) | |
download | u-boot-fad966616319465cb01d735ab30f218927351a0f.tar.xz |
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 <udit.agarwal@nxp.com>
Diffstat (limited to 'board/freescale/ls2080aqds/ls2080aqds.c')
-rw-r--r-- | board/freescale/ls2080aqds/ls2080aqds.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; } |