On 29 February 2016 at 15:25, Simon Glass <s...@chromium.org> wrote: > To ease conversion to driver model, add helper functions which deal with > calling each block device method. With driver model we can reimplement these > functions with the same arguments. > > Use inline functions to avoid increasing code size on some boards. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > --- > > Changes in v2: None > > cmd/disk.c | 6 +++--- > cmd/ide.c | 4 ++-- > cmd/read.c | 2 +- > cmd/usb.c | 6 ++---- > common/fb_mmc.c | 5 +++-- > disk/part_amiga.c | 9 ++++----- > disk/part_dos.c | 8 +++----- > disk/part_efi.c | 34 +++++++++++++++------------------- > disk/part_iso.c | 6 +++--- > disk/part_mac.c | 9 ++++----- > fs/ext4/dev.c | 23 ++++++++++------------- > fs/ext4/ext4_common.c | 27 +++++++++------------------ > fs/fat/fat.c | 6 +++--- > fs/fat/fat_write.c | 5 ++--- > include/blk.h | 29 +++++++++++++++++++++++++++++ > test/dm/usb.c | 2 +- > 16 files changed, 94 insertions(+), 87 deletions(-)
Applied to u-boot-dm/next. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot