dm: sandbox: Create a block driver
authorSimon Glass <sjg@chromium.org>
Sun, 30 Oct 2022 01:47:16 +0000 (19:47 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2022 23:24:30 +0000 (16:24 -0700)
commit10aae1145c910857053343a2f3e841b38eb77bd0
tree03732fb4af770582d9d75dee1619962f62b7333d
parent9bd1aa8af2ed3efde28250987806aaeb12837c66
dm: sandbox: Create a block driver

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@chromium.org>
drivers/block/Makefile
drivers/block/host_dev.c [new file with mode: 0644]