sandbox: config: Enable hash functions and mtest
PATCH v4 18/22 sandbox: config: Enable hash functions and mtest
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 <[email protected]>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
include/configs/sandbox.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
include/configs/sandbox.h +7 -2
@@ -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
@@ -85,6 +85,11 @@#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" \
Signature · 1 line
1.8.1.3