summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1021atwr.h
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2014-10-15 11:39:06 +0530
committerYork Sun <yorksun@freescale.com>2014-10-16 14:17:32 -0700
commit4ba4a095da4f7d38270ee22cc1a1ce64fa47d009 (patch)
treec32f2a05517a9cdd335d1abd93bba716c84888f4 /include/configs/ls1021atwr.h
parent737537ef0c9622114cf1a48208abf048df1b2005 (diff)
downloadtalos-obmc-uboot-4ba4a095da4f7d38270ee22cc1a1ce64fa47d009.tar.gz
talos-obmc-uboot-4ba4a095da4f7d38270ee22cc1a1ce64fa47d009.zip
ls102x: configs - Add hash command in freescale LS1 platforms
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/ls1021atwr.h')
-rw-r--r--include/configs/ls1021atwr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 45b2272ff5..ebe5daef60 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -48,6 +48,8 @@
#define CONFIG_SYS_HAS_SERDES
+#define CONFIG_FSL_CAAM /* Enable CAAM */
+
/*
* IFC Definitions
*/
@@ -288,4 +290,10 @@
#define CONFIG_OF_BOARD_SETUP
#define CONFIG_CMD_BOOTZ
+#define CONFIG_MISC_INIT_R
+
+/* Hash command with SHA acceleration supported in hardware */
+#define CONFIG_CMD_HASH
+#define CONFIG_SHA_HW_ACCEL
+
#endif
OpenPOWER on IntegriCloud