On Fri, Sep 21, 2012 at 1:07 AM, Pavel Herrmann <[email protected]> wrote: > 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 <[email protected]> > --- > 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 > <snip> > +struct blockdev_ops { > + lbaint_t (*read)(struct instance *inst, lbaint_t start, > + lbaint_t blkcnt, void *buffer); > + lbaint_t (*write)(struct instance *inst, lbaint_t start, > + lbaint_t blkcnt, void *buffer); > + lbaint_t (*erase)(struct instance *inst, lbaint_t start, > + lbaint_t blkcnt);
lbaint_t is little "cryptic". Any better name suggestions? Regards, Vikram _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

