[PATCH 1/9] mmc: sandbox: Add support for writing

Simon Glass sjg at chromium.org
Thu Jan 7 13:35:45 CET 2021


On Thu, 31 Dec 2020 at 15:49, Sean Anderson <sean.anderson at seco.com> wrote:
>
> This adds support writing to the sandbox mmc backed by an in-memory buffer.
> The unit test has been updated to test reading, writing, and erasing. I'm
> not sure what MMC erase to; I picked 0, but if it's 0xFF then that can be
> easily changed.
>
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> ---
>
>  drivers/mmc/sandbox_mmc.c | 41 ++++++++++++++++++++++++++++++++++-----
>  test/dm/mmc.c             | 19 +++++++++++++-----
>  2 files changed, 50 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list