summaryrefslogtreecommitdiff
path: root/board/freescale/ls1012aqds/ls1012aqds.c
diff options
context:
space:
mode:
authorRajesh Bhagat <rajesh.bhagat@nxp.com>2018-11-05 21:02:59 +0300
committerYork Sun <york.sun@nxp.com>2018-12-07 01:37:19 +0300
commite5141cbe965e947ee42aa77aea569327fb80810d (patch)
treec9611105cd6f5ab75e6be331730a5e9c9d4bfee7 /board/freescale/ls1012aqds/ls1012aqds.c
parent1f6180dff9b5c1b6df87f54b0fb0d458798d557e (diff)
downloadu-boot-e5141cbe965e947ee42aa77aea569327fb80810d.tar.xz
armv8: ls1012aqds: fix secure boot compilation
Includes environment.h file in ls1012aqds.c Also, enables pfe validation Signed-off-by: Vinitha V Pillai <vinitha.pillai@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1012aqds/ls1012aqds.c')
-rw-r--r--board/freescale/ls1012aqds/ls1012aqds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/ls1012aqds/ls1012aqds.c b/board/freescale/ls1012aqds/ls1012aqds.c
index 7102237756..3a1c2351c4 100644
--- a/board/freescale/ls1012aqds/ls1012aqds.c
+++ b/board/freescale/ls1012aqds/ls1012aqds.c
@@ -18,12 +18,14 @@
#include <ahci.h>
#include <hwconfig.h>
#include <mmc.h>
+#include <environment.h>
#include <scsi.h>
#include <fm_eth.h>
#include <fsl_esdhc.h>
#include <fsl_mmdc.h>
#include <spl.h>
#include <netdev.h>
+#include <fsl_sec.h>
#include "../common/qixis.h"
#include "ls1012aqds_qixis.h"
#include "ls1012aqds_pfe.h"
@@ -121,6 +123,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