dfu:ext4:fix Fix DFU upload functionality
authorŁukasz Majewski <l.majewski@samsung.com>
Fri, 28 Jun 2013 16:41:50 +0000 (18:41 +0200)
committerTom Rini <trini@ti.com>
Wed, 3 Jul 2013 12:41:23 +0000 (08:41 -0400)
commit9df49553a462f38341d2613f2635064f34f156a0
tree7cc0ed86ef57d9163c5edb9f59081eaac69fb94d
parent051f9a3eedb13eb29151917e38231e37a4383fe5
dfu:ext4:fix Fix DFU upload functionality

For the first eMMC read of data for upload, use the "large" dfu_buf (now
configurable) instead of usb request buffer allocated at composite layer
(which is 4KiB) [*].

For eMMC the whole file is read, which usually is larger than the buffer [*]
provided with usb request.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Tom Rini <trini@ti.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
drivers/dfu/dfu.c