diff options
author | Suriyan Ramasami <suriyan.r@gmail.com> | 2014-11-17 14:39:34 -0800 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 06:49:04 -0500 |
commit | 794449551d342d9ec3bd619e7ab887f7faec7f2a (patch) | |
tree | d25de4508380d1a2e36b2a9bd38307accf0fedc4 /include/configs | |
parent | 9fdee7d7306b9747bdb0ce43e53424cfdc86b8c0 (diff) | |
download | u-boot-imx-794449551d342d9ec3bd619e7ab887f7faec7f2a.zip u-boot-imx-794449551d342d9ec3bd619e7ab887f7faec7f2a.tar.gz u-boot-imx-794449551d342d9ec3bd619e7ab887f7faec7f2a.tar.bz2 |
sandbox: Use md5sum and fatwrite to enable testing of fs commands
Enable md5sum to obtain the MD5 of the read and written files to check
their contents for validity.
Use map_sysmem() to map buffer in a sandbox environment.
Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/sandbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index ee4b244..2b03841 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -48,6 +48,7 @@ #define CONFIG_ANDROID_BOOT_IMAGE #define CONFIG_FS_FAT +#define CONFIG_FAT_WRITE #define CONFIG_FS_EXT4 #define CONFIG_EXT4_WRITE #define CONFIG_CMD_FAT @@ -57,6 +58,7 @@ #define CONFIG_DOS_PARTITION #define CONFIG_HOST_MAX_DEVICES 4 #define CONFIG_CMD_FS_GENERIC +#define CONFIG_CMD_MD5SUM #define CONFIG_SYS_VSNPRINTF |