Re: [U-Boot] [PATCH] DFU: fix for raw data write

2013-08-12 Thread Lukasz Majewski
Hi Mateusz, > When user attempted to perform a raw write using DFU (vide > dfu_fill_entity_mmc) with MMC interface not initialized before, > get_mmc_blk_size() reported invalid (zero) block size - it wasn't > possible to write ie. a new u-boot image. > > This commit fixes that by initializing de

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
This commit fixes DFU raw (performed w/o partition interface, via mmc_block_op()) write. Mateusz Zalega (1): DFU: fix for raw data write drivers/dfu/dfu.c | 22 ++ drivers/dfu/dfu_mmc.c | 3 +++ include/dfu.h | 7 ++- 3 files changed, 27 insertions(+), 5 d

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing device in get_mmc_blk_size()