sandbox: Use md5sum and fatwrite to enable testing of fs commands
authorSuriyan Ramasami <suriyan.r@gmail.com>
Mon, 17 Nov 2014 22:39:34 +0000 (14:39 -0800)
committerTom Rini <trini@ti.com>
Sun, 23 Nov 2014 11:49:04 +0000 (06:49 -0500)
commit794449551d342d9ec3bd619e7ab887f7faec7f2a
treed25de4508380d1a2e36b2a9bd38307accf0fedc4
parent9fdee7d7306b9747bdb0ce43e53424cfdc86b8c0
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>
common/cmd_md5sum.c
include/configs/sandbox.h