Exynos: config: Enable hash command
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 20 Mar 2013 21:00:59 +0000 (21:00 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Mar 2013 11:10:42 +0000 (20:10 +0900)
This enables hash command.

Tested with command "hash sha256 0x40008000 0x2B 0x40009000".
Used mm and md to write a standard string to memory location
0x40008000 and ran the above command to verify the output.

Signed-off-by: ARUN MANKUZHI <arun.m@samsung.com>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/exynos5250-dt.h

index 417b29c3a2fd108f02ac88f46580a183a01f3476..6072acd5be49a06647f3d37900a45aed6ff4fe17 100644 (file)
@@ -48,6 +48,7 @@
 
 /* Enable ACE acceleration for SHA1 and SHA256 */
 #define CONFIG_EXYNOS_ACE_SHA
+#define CONFIG_SHA_HW_ACCEL
 
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
 #define CONFIG_SYS_TEXT_BASE           0x43E00000
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_FAT
 #define CONFIG_CMD_NET
+#define CONFIG_CMD_HASH
 
 #define CONFIG_BOOTDELAY               3
 #define CONFIG_ZERO_BOOTDELAY_CHECK