[PATCH v2 05/41] sandbox: mmc: Support a backing file
Simon Glass
sjg at chromium.org
Wed Nov 24 23:22:37 CET 2021
Provide a way for sandbox MMC to present data from a backing file. This
allows a filesystem to be created on the host and easily served via an
emulated mmc device.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Free the memory buffer, to avoid running out of memory
- Unmap the file
- Reorder struct sandbox_mmc_priv
doc/device-tree-bindings/mmc/sandbox,mmc.txt | 18 ++++++
drivers/mmc/sandbox_mmc.c | 60 +++++++++++++++++---
2 files changed, 69 insertions(+), 9 deletions(-)
create mode 100644 doc/device-tree-bindings/mmc/sandbox,mmc.txt
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list