[PATCH 14/17] dm: sandbox: Create a block driver

Simon Glass sjg at chromium.org
Sat Nov 5 20:55:36 CET 2022


Create a block driver for the new HOST uclass. This handles attaching and
detaching host files.

For now the uclass is not used but this will be plumbed in with future
patches.

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

 drivers/block/Makefile   |   2 +-
 drivers/block/host_dev.c | 142 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+), 1 deletion(-)
 create mode 100644 drivers/block/host_dev.c

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list