diff mbox

[U-Boot,5/5,v4] Exynos: config: Enable hash command

Message ID 1362489600-20991-6-git-send-email-akshay.s@samsung.com
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Commit Message

Akshay Saraswat March 5, 2013, 1:20 p.m. UTC
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>
---
Changes since v2:
	- New patch to enable config for hash command.

Changes since v3:
	- Added new generic config for ace_sha to enable ace support in hash.c.

 include/configs/exynos5250-dt.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Glass March 6, 2013, 1:54 a.m. UTC | #1
On Tue, Mar 5, 2013 at 5:20 AM, Akshay Saraswat <akshay.s@samsung.com> wrote:
> 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>

> ---
> Changes since v2:
>         - New patch to enable config for hash command.
>
> Changes since v3:
>         - Added new generic config for ace_sha to enable ace support in hash.c.
>
>  include/configs/exynos5250-dt.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
> index 0b43984..7e1acbd 100644
> --- a/include/configs/exynos5250-dt.h
> +++ b/include/configs/exynos5250-dt.h
> @@ -47,6 +47,7 @@
>
>  /* Enable ACE acceleration for SHA1 and SHA256 */
>  #define CONFIG_EXYNOS_ACE_SHA
> +#define CONFIG_ACE_SHA
>
>  #define CONFIG_SYS_SDRAM_BASE          0x40000000
>  #define CONFIG_SYS_TEXT_BASE           0x43E00000
> @@ -116,6 +117,7 @@
>  #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
> --
> 1.8.0
>
diff mbox

Patch

diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 0b43984..7e1acbd 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -47,6 +47,7 @@ 
 
 /* Enable ACE acceleration for SHA1 and SHA256 */
 #define CONFIG_EXYNOS_ACE_SHA
+#define CONFIG_ACE_SHA
 
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 #define CONFIG_SYS_TEXT_BASE		0x43E00000
@@ -116,6 +117,7 @@ 
 #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