summaryrefslogtreecommitdiff
path: root/board/freescale/imx8mq_evk/spl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-13 08:00:11 -0400
committerTom Rini <trini@konsulko.com>2022-04-13 08:00:11 -0400
commit2ddf84679df65ba156782ceb75b44696f2cbb3e6 (patch)
tree7a736235da332086c458da9c20bd88cb1ce45a8e /board/freescale/imx8mq_evk/spl.c
parentb2a22b2c9f07e4c78108feb3bc16e18ebd88388a (diff)
parenta1c711046b0d5478a702b27c6773ea6231eba057 (diff)
Merge tag 'u-boot-imx-20220413' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20220413 i.MX patches for 2022.07 CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/11710
Diffstat (limited to 'board/freescale/imx8mq_evk/spl.c')
-rw-r--r--board/freescale/imx8mq_evk/spl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c
index 67d069b2b05..b28056bb48b 100644
--- a/board/freescale/imx8mq_evk/spl.c
+++ b/board/freescale/imx8mq_evk/spl.c
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
/*
- * Copyright 2018 NXP
+ * Copyright 2018, 2021 NXP
*
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
@@ -22,6 +21,7 @@
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/mxc_i2c.h>
#include <fsl_esdhc_imx.h>
+#include <fsl_sec.h>
#include <mmc.h>
#include <linux/delay.h>
#include <power/pmic.h>
@@ -199,6 +199,10 @@ int power_init_board(void)
void spl_board_init(void)
{
+ if (IS_ENABLED(CONFIG_FSL_CAAM)) {
+ if (sec_init())
+ printf("\nsec_init failed!\n");
+ }
puts("Normal Boot\n");
}