MAINLINE dfu: mmc: Replace calls to u-boot commands with native mmc API
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 18 Feb 2014 14:37:27 +0000 (15:37 +0100)
committerLukasz Majewski <l.majewski@samsung.com>
Tue, 18 Mar 2014 15:48:58 +0000 (16:48 +0100)
commitc9116828caf31f3558e5ad72f12b10634690b133
treecc81e7b29a1969b8192114085731ba94ca0d0cd9
parent9631cde1bdb50dc83701951ebafce35016efedb8
MAINLINE dfu: mmc: Replace calls to u-boot commands with native mmc API

For some time we have been using the run_command() with properly crafted
string. Such approach turned to be unreliable and error prone.

Switch to "native" mmc subsystem API would allow better type checking and
shall improve speed.

Also, it seems that this API is changing less often than u-boot commands.
The approach similar to env operations on the eMMC has been reused.

Change-Id: Idcd18465f58481bcbae9e266769fb9b9355852d2
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/dfu/dfu_mmc.c