* [U-Boot] [PATCH] armv8: ls2080: enable sec_init in U-Boot
@ 2016-04-06 16:55 Aneesh Bansal
2016-05-24 17:10 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Bansal @ 2016-04-06 16:55 UTC (permalink / raw)
To: 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>
---
include/configs/ls2080a_common.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 13ce349..4150e17 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -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 */
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] armv8: ls2080: enable sec_init in U-Boot
2016-04-06 16:55 [U-Boot] [PATCH] armv8: ls2080: enable sec_init in U-Boot Aneesh Bansal
@ 2016-05-24 17:10 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2016-05-24 17:10 UTC (permalink / raw)
To: u-boot
On 04/06/2016 04:42 AM, Aneesh Bansal wrote:
> 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>
> ---
> include/configs/ls2080a_common.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied to u-boot-fsl-qoriq master, awaiting upstream.
Thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-24 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06 16:55 [U-Boot] [PATCH] armv8: ls2080: enable sec_init in U-Boot Aneesh Bansal
2016-05-24 17:10 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox