On Tuesday, February 04, 2014 at 06:02:42 PM, Mateusz Zalega wrote: > 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() when > needed.
This patch certainly does more than that I think, no ? Moreover, it's up to the user to init the MMC before using it, don't you agree? Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot