From: Lukasz Majewski Date: Fri, 27 Jul 2012 10:35:14 +0200 Subject: [U-Boot] [PATCH 0/2] New abstraction layer for handling MMC and FAT commands Message-ID: <1343378116-5569-1-git-send-email-l.majewski@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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