From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 27 Feb 2013 12:22:34 -0800 Subject: [U-Boot] [PATCH 2/4] Exynos: config: Enable ACE HW for SHA 256 for Exynos In-Reply-To: <1361978682-27969-3-git-send-email-akshay.s@samsung.com> References: <1361978682-27969-1-git-send-email-akshay.s@samsung.com> <1361978682-27969-3-git-send-email-akshay.s@samsung.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Akshay, On Wed, Feb 27, 2013 at 7:24 AM, Akshay Saraswat wrote: > This enables SHA 256 for exynos. > > TEST=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 > Signed-off-by: Akshay Saraswat > --- > include/configs/exynos5250-dt.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h > index cabd2f2..3963aaf 100644 > --- a/include/configs/exynos5250-dt.h > +++ b/include/configs/exynos5250-dt.h > @@ -45,6 +45,9 @@ > /* Keep L2 Cache Disabled */ > #define CONFIG_SYS_DCACHE_OFF > > +#define CONFIG_CMD_SHA256 This should not be needed, you can use CONFIG_CMD_HASH instead. > +#define CONFIG_EXYNOS_ACE_SHA > + > #define CONFIG_SYS_SDRAM_BASE 0x40000000 > #define CONFIG_SYS_TEXT_BASE 0x43E00000 > > -- > 1.8.0 > Regards, Simon