On 1 May 2016 at 11:36, Simon Glass <s...@chromium.org> wrote: > 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 <s...@chromium.org> > --- > > Changes in v2: > - Adjust newline output in blk_list_part() > - Mention MMC partition 0 in the comments > > drivers/block/Makefile | 4 + > drivers/block/blk_legacy.c | 261 > +++++++++++++++++++++++++++++++++++++++++++++ > include/blk.h | 195 +++++++++++++++++++++++++++++++++ > 3 files changed, 460 insertions(+) > create mode 100644 drivers/block/blk_legacy.c
Applied to u-boot-dm. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot