[U-Boot] [PATCH v2 24/32] dm: sandbox: Add driver-model block-device support for sandbox

Simon Glass sjg at chromium.org
Sun Mar 13 02:53:33 CET 2016


On 29 February 2016 at 15:25, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Use snprintf() to avoid overflow
>
>  cmd/host.c                |   9 +++-
>  drivers/block/sandbox.c   | 118 +++++++++++++++++++++++++++++++++++++++++++++-
>  include/sandboxblockdev.h |   2 +
>  3 files changed, 127 insertions(+), 2 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list