Patchwork [U-Boot,v2,21/23] exynos: Enable hashing functions and EDID for smdk5250

login
register
mail settings
Submitter Simon Glass
Date Nov. 22, 2012, 7:13 p.m.
Message ID <1353611587-18186-22-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/201157/
State Superseded, archived
Headers show

Comments

Simon Glass - Nov. 22, 2012, 7:13 p.m.
Enable SHA1/SHA256 hashing and the hash command. Also enable EDID
support for reading from an LCD.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Add patch to enable hashing and EDID on smdk5250

 include/configs/smdk5250.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index c0f8622..39a347a 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -203,6 +203,7 @@ 
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_MAX_I2C_NUM	8
 #define CONFIG_SYS_I2C_SLAVE    0x0
+#define CONFIG_I2C_EDID
 
 /* Ethernet Controllor Driver */
 #ifdef CONFIG_CMD_NET
@@ -215,4 +216,10 @@ 
 /* Enable devicetree support */
 #define CONFIG_OF_LIBFDT
 
+/* SHA hashing */
+#define CONFIG_CMD_HASH
+#define CONFIG_HASH_VERIFY
+#define CONFIG_SHA1
+#define CONFIG_SHA256
+
 #endif	/* __CONFIG_H */