]> git.sur5r.net Git - u-boot/commit
dfu: mmc: Replace calls to u-boot commands with native mmc API
authorŁukasz Majewski <l.majewski@samsung.com>
Fri, 21 Feb 2014 07:23:00 +0000 (08:23 +0100)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Mon, 24 Mar 2014 10:59:54 +0000 (12:59 +0200)
commiteea4e6fe82fef9975e0153644935b89882890450
tree150e7192f98baba8ee9b4b7fca86f022bbf5383a
parent93bfd6167713a5cc1a78bcf60fa63f990fd3f4b3
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.

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