dm: sandbox: Add driver-model block-device support for sandbox
authorSimon Glass <sjg@chromium.org>
Mon, 29 Feb 2016 22:25:57 +0000 (15:25 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit40fd050890e08eb6d064aaf074cf3a8b75d1251e
treec7833a964277e045db74e4f5e602efc23b8a9bde
parent7ded959e4d5b93c10a8b57a0a391fb35cefb85ce
dm: sandbox: Add driver-model block-device support for sandbox

Update the host driver to support driver model for block devices. A future
commit will remove the old code, but for now it is useful to be able to use
it both with and without CONFIG_BLK.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
cmd/host.c
drivers/block/sandbox.c
include/sandboxblockdev.h