]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commitdiff
sandbox: config: Enable hash functions and mtest
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 20:29:23 +0000 (20:29 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:24 +0000 (19:09 -0800)
Enable the hash command and sha1/256 hashing for sandbox. Also use a
better address for memory testing (since the existing one is set up
for linux host memory space).

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/sandbox.h

index 9c431bf27ad417de275c7a7bec70a8d3fe037ad3..9f51a0b813ee4215db935cdc216d91c6c52bea4d 100644 (file)
@@ -63,8 +63,8 @@
 #define CONFIG_SYS_HZ                  1000
 
 /* Memory things - we don't really want a memory test */
-#define CONFIG_SYS_LOAD_ADDR           0x10000000
-#define CONFIG_SYS_MEMTEST_START       0x10000000
+#define CONFIG_SYS_LOAD_ADDR           0x00000000
+#define CONFIG_SYS_MEMTEST_START       0x00100000
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + 0x1000)
 #define CONFIG_PHYS_64BIT
 
 #undef CONFIG_CMD_NET
 #undef CONFIG_CMD_NFS
 
+#define CONFIG_CMD_HASH
+#define CONFIG_HASH_VERIFY
+#define CONFIG_SHA1
+#define CONFIG_SHA256
+
 #define CONFIG_BOOTARGS ""
 
 #define CONFIG_EXTRA_ENV_SETTINGS      "stdin=serial\0" \