[U-Boot] [PATCH 01/11] DM: add block device core

Pavel Herrmann morpheus.ibis at gmail.com
Fri Sep 21 09:11:45 CEST 2012


On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote:
> Dear Pavel Herrmann,
> 
> > This core will register all block devices (disk, cards, partitons) and
> > provide unfied access to them, instead of current method with device +
> > partition offset
> > 
> > Signed-off-by: Pavel Herrmann <morpheus.ibis at gmail.com>
> > ---
> > 
> >  Makefile                  |   1 +
> >  drivers/blockdev/Makefile |  42 ++++++++++++++++
> >  include/dm/blockdev.h     | 121
> > 
> > ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 164
> > insertions(+)
> > 
> >  create mode 100644 drivers/blockdev/Makefile
> >  create mode 100644 include/dm/blockdev.h
> 
> Why not use drivers/block/ ?

Because the drivers in drivers/block have a different purpose than blockdev. I 
would expect this question for blockctrl, there i just try to avoid confusion 
about being completely compatible

Pavel Herrmann


More information about the U-Boot mailing list