[U-Boot] [PATCH 0/2] New abstraction layer for handling MMC and FAT commands

Lukasz Majewski l.majewski at samsung.com
Fri Jul 27 10:35:14 CEST 2012


New abstraction layer for performing MMC and FAT operations has been added.
It is necessary for using MMC and FAT operations from other subsystems without
the need to call "sprintf" and "run_command" afterwards.

MMC/FAT function call allows for better type checking during compilation time.
For FAT, common code has been encapsulated to a separate function.

Lukasz Majewski (2):
  mmc: New abstract function (do_mmcops_safe) for MMC subsystem
  fat: New abstract function (do_fat_safe) for FAT subsystem

 common/cmd_fat.c |   89 +++++++++++++++++++++++++++++++-----------------------
 common/cmd_mmc.c |   69 ++++++++++++++++++++++-------------------
 common/env_fat.c |   20 +-----------
 include/fat.h    |    7 ++++
 include/mmc.h    |    9 +++++
 5 files changed, 106 insertions(+), 88 deletions(-)

-- 
1.7.2.3



More information about the U-Boot mailing list