]> 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)
committerMarek Vasut <marex@denx.de>
Sun, 23 Mar 2014 01:20:10 +0000 (02:20 +0100)
commit7d0b605abb1f2dbccf4abb502f3b1fc9f97f2552
tree000c185d912f03df1ffbfaea1601fc751fdc2cb2
parent401341d62175650e7966058360683cafeb15be88
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