dm: mmc: sandbox: Add an SD-card emulation
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:42 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitf376a3cbbf34d3114d92789540ba2d2e9e904758
tree737240a323d3eaf20cf3cef327629bcc86b6e8a3
parent33fb211dd2706e666db4008801dc0d5903fd82f6
dm: mmc: sandbox: Add an SD-card emulation

Add an emulation of an SD card to sandbox, allowing MMC to be used in tests.
The emulation is very simple, supporting only card detection and reading
test data.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/Kconfig
drivers/mmc/sandbox_mmc.c