]> git.sur5r.net Git - u-boot/commit
usb: gadget: fastboot: improve download progress bar
authorBo Shen <voice.shen@atmel.com>
Fri, 19 Sep 2014 06:15:12 +0000 (14:15 +0800)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:43 +0000 (14:50 +0200)
commit23d1d10c4248f1b9f838e512e7f18e600f06b348
treeba166c7c55f548f50a05556fc349b738d6512716
parentf9935c87b6c8e81ef8d621bd06d24a78eec8a821
usb: gadget: fastboot: improve download progress bar

When download is ongoing, if the actual size of one transfer
is not the same as BYTES_PER_DOT, which will cause the dot
won't print anymore. Then it will let the user thinking it
is stuck, actually it is transfering without dot printed.

So, improve the method to show the progress bar (print dot).

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_fastboot.c