]> git.sur5r.net Git - u-boot/commit
usb, dfu: extract flush code into seperate function
authorHeiko Schocher <hs@denx.de>
Tue, 18 Mar 2014 07:09:55 +0000 (08:09 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 23 Mar 2014 01:20:09 +0000 (02:20 +0100)
commita2199afea169c1e13881ca90a02a28e4c9ffd114
treee1659208cca3bededc225a383fe0cbe4c4710d53
parent2c072c958bb544c72f0e848375803dbd6971f022
usb, dfu: extract flush code into seperate function

move the flushing code into an extra function dfu_flush(),
so it can be used from other code.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/dfu/dfu.c
include/dfu.h