[U-Boot] [PATCH 19/30] dm: block: Adjust device calls to go through helpers function
Bin Meng
bmeng.cn at gmail.com
Tue Feb 16 15:51:59 CET 2016
On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass <sjg at 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 <sjg at chromium.org>
> ---
>
> 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(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list