sandbox: block driver using host file/device as backing store
Provide a way to use any host file or device as a block device in U-Boot. This can be used to provide filesystem access within U-Boot to an ext2 image file on the host, for example. The support is plumbed into the filesystem and partition interfaces. We don't want to print a message in the driver every time we find a missing device. Pass the information back to the caller where a message can be printed if desired. Signed-off-by: NHenrik Nordström <henrik@henriknordstrom.net> Signed-off-by: NSimon Glass <sjg@chromium.org> - Removed change to part.c get_device_and_partition() Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NSimon Glass <sjg@chromium.org>
Showing
drivers/block/sandbox.c
0 → 100644
include/sandboxblockdev.h
0 → 100644
想要评论请 注册 或 登录