dfu: mmc: rearrange the code
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 2 Dec 2019 11:11:15 +0000 (12:11 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Wed, 29 Jan 2020 17:30:33 +0000 (18:30 +0100)
commit774f8b00b6e59aa8ee48d6aa716c94a00987eaf7
tree0893302b698c7f847d19d770c2bed16879b467c2
parentb00c3c995bf2293e32cd2be3cb4be7eb39c4ac26
dfu: mmc: rearrange the code

Rename functions for bufferred file io operations to make them easier to
understand. Also add missing file offset argument to them (currently
unused). All this is a preparation to remove predefined file size limit
(CONFIG_SYS_DFU_MAX_FILE_SIZE) for DFU read/write operations.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/dfu/dfu_mmc.c