浏览代码

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>
Aneesh Bansal 9 年之前
父节点
当前提交
bcb55f67f2
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      include/configs/ls2080a_common.h

+ 8 - 0
include/configs/ls2080a_common.h

@@ -26,6 +26,8 @@
 /* We need architecture specific misc initializations */
 /* We need architecture specific misc initializations */
 #define CONFIG_ARCH_MISC_INIT
 #define CONFIG_ARCH_MISC_INIT
 
 
+#define CONFIG_FSL_CAAM			/* Enable SEC/CAAM */
+
 /* Link Definitions */
 /* Link Definitions */
 #ifdef CONFIG_SPL
 #ifdef CONFIG_SPL
 #define CONFIG_SYS_TEXT_BASE		0x80400000
 #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 */
 #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 */
 #endif /* __LS2_COMMON_H */