Skip to contentSkip to conversation

armv8: ls2080: enable sec_init in U-Boot

PATCH New Aneesh Bansal 2 participants 2 messages Apr 6, 2016 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: ls2080: enable sec_init in U-Boot

Define CONFIG_FSL_CAAM for LS2080 which would enable call to sec_init() during U-Boot.

---
 include/configs/ls2080a_common.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/configs/ls2080a_common.h +7 -0
index 13ce349..4150e17 100644
@@ -28,6 +28,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
@@ -307,5 +309,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 */
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 1/1 armv8: ls2080: enable sec_init in U-Boot

Quoted 8 lines · Aneesh Bansal

Define CONFIG_FSL_CAAM for LS2080 which would enable call to sec_init() during U-Boot.

---
 include/configs/ls2080a_common.h | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to u-boot-fsl-qoriq master, awaiting upstream.

Thanks.

York