dm: blk: Add a legacy block interface
There is quite a bit of duplicated common code related to block devices
in the IDE and SCSI implementations.
Create some helper functions that can be used to reduce the duplication.
These rely on a linker list of interface-type drivers
Signed-off-by:
Simon Glass <sjg@chromium.org>
drivers/block/blk_legacy.c
0 → 100644
Please register or sign in to comment