summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAneesh Bansal <aneesh.bansal@nxp.com>2016-04-06 22:25:51 +0530
committerYork Sun <york.sun@nxp.com>2016-05-18 08:51:43 -0700
commitbcb55f67f22b297d6c10e039bfcef9847a20fbfb (patch)
treedb1ffe4d4da70c677531e2940dbb4b1e682f75c9 /include/configs
parent87e566d77347173cc901e5c9cd325c5d83f65f7e (diff)
downloadu-boot-imx-bcb55f67f22b297d6c10e039bfcef9847a20fbfb.zip
u-boot-imx-bcb55f67f22b297d6c10e039bfcef9847a20fbfb.tar.gz
u-boot-imx-bcb55f67f22b297d6c10e039bfcef9847a20fbfb.tar.bz2
armv8: ls2080: enable sec_init in U-Boot
Define CONFIG_FSL_CAAM for LS2080 which would enable call to sec_init() during U-Boot. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ls2080a_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index a3aad1b..c78aeb5 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -26,6 +26,8 @@
/* We need architecture specific misc initializations */
#define CONFIG_ARCH_MISC_INIT
+#define CONFIG_FSL_CAAM /* Enable SEC/CAAM */
+
/* Link Definitions */
#ifdef CONFIG_SPL
#define CONFIG_SYS_TEXT_BASE 0x80400000
@@ -292,4 +294,10 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
+/* Hash command with SHA acceleration supported in hardware */
+#ifdef CONFIG_FSL_CAAM
+#define CONFIG_CMD_HASH
+#define CONFIG_SHA_HW_ACCEL
+#endif
+
#endif /* __LS2_COMMON_H */