| Submitter | Akshay Saraswat |
|---|---|
| Date | Feb. 28, 2013, 11 a.m. |
| Message ID | <1362049223-17345-3-git-send-email-akshay.s@samsung.com> |
| Download | mbox | patch |
| Permalink | /patch/223878/ |
| State | Superseded |
| Delegated to: | Minkyu Kang |
| Headers | show |
Comments
Hi Akshay, On Thu, Feb 28, 2013 at 3:00 AM, Akshay Saraswat <akshay.s@samsung.com> wrote: > This enables SHA 256 for exynos. > > 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 v1: > - Removed not required config. > > 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..f6df734 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 > > +/* Enable ACE acceleration for SHA256 */ and SHA1? > +#define CONFIG_EXYNOS_ACE_SHA > + > #define CONFIG_SYS_SDRAM_BASE 0x40000000 > #define CONFIG_SYS_TEXT_BASE 0x43E00000 > > -- > 1.8.0 > Regards, Simon
Patch
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index cabd2f2..f6df734 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 +/* Enable ACE acceleration for SHA256 */ +#define CONFIG_EXYNOS_ACE_SHA + #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define CONFIG_SYS_TEXT_BASE 0x43E00000