
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(-)