From dc993a65f49768429a72488873d9805ff57e4c24 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Tue, 12 Mar 2013 03:41:49 +0000
Subject: spl:falcon:trats: Fix SPL image size computing.
"spl_imgsize" was set as decimal variable by "setexpr"
and this causes wrong image size written by "ext4write".
Preset this val with "0x" prefix allow to fix this issue.
Signed-off-by: Przemyslaw Marczak
Signed-off-by: Kyungmin Park
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
---
include/configs/trats.h | 1 +
1 file changed, 1 insertion(+)
(limited to 'include/configs')
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 31d81901bc..fd58558beb 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -199,6 +199,7 @@
"splfile=falcon.bin\0" \
"spl_export=" \
"setexpr spl_imgsize ${splsize} + 8 ;" \
+ "setenv spl_imgsize 0x${spl_imgsize};" \
"setexpr spl_imgaddr ${spladdr} - 8 ;" \
"setexpr spl_addr_tmp ${spladdr} - 4 ;" \
"mw.b ${spl_imgaddr} 0x00 ${spl_imgsize};run loaduimage;" \
--
cgit
From 8e6ee2933c64648d05824f40fe2ad004296046c4 Mon Sep 17 00:00:00 2001
From: Akshay Saraswat
Date: Wed, 20 Mar 2013 21:00:57 +0000
Subject: Exynos: config: Enable ACE HW for SHA 256 for Exynos
This enables SHA 256 for exynos.
Signed-off-by: ARUN MANKUZHI
Signed-off-by: Akshay Saraswat
Acked-by: Simon Glass
---
include/configs/exynos5250-dt.h | 3 +++
1 file changed, 3 insertions(+)
(limited to 'include/configs')
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 2b9d6ac061..417b29c3a2 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -46,6 +46,9 @@
/* Keep L2 Cache Disabled */
#define CONFIG_SYS_DCACHE_OFF
+/* Enable ACE acceleration for SHA1 and SHA256 */
+#define CONFIG_EXYNOS_ACE_SHA
+
#define CONFIG_SYS_SDRAM_BASE 0x40000000
#define CONFIG_SYS_TEXT_BASE 0x43E00000
--
cgit
From 2c6346c1beb1d4debe9c79dc7f72c4e62a77859d Mon Sep 17 00:00:00 2001
From: Akshay Saraswat
Date: Wed, 20 Mar 2013 21:00:59 +0000
Subject: Exynos: config: Enable hash command
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
Signed-off-by: Akshay Saraswat
Acked-by: Simon Glass
---
include/configs/exynos5250-dt.h | 2 ++
1 file changed, 2 insertions(+)
(limited to 'include/configs')
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 417b29c3a2..6072acd5be 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -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
@@ -117,6 +118,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
--
cgit
From 4f3bfa97c4b8f88f44aa946427eb9be12b296c96 Mon Sep 17 00:00:00 2001
From: Akshay Saraswat
Date: Thu, 28 Mar 2013 04:32:15 +0000
Subject: Exynos5: config: enable time command
This patch enables time command.
Signed-off-by: Akshay Saraswat
Signed-off-by: Minkyu Kang
---
include/configs/exynos5250-dt.h | 3 +++
1 file changed, 3 insertions(+)
(limited to 'include/configs')
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 6072acd5be..496a1947b2 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -330,4 +330,7 @@
#define LCD_BPP LCD_COLOR16
#endif
+/* Enable Time Command */
+#define CONFIG_CMD_TIME
+
#endif /* __CONFIG_H */
--
cgit