On Tue, Aug 27, 2019 at 03:32:18PM +0800, Weijie Gao wrote:

> This reverts commit 0ebe112d09b48230ba4be833cd3504b06997d9a4.
> 
> Most block devices have only one hwpart. Multiple hwparts only found used
> by eMMC devices in u-boot. The mmc driver do blk_dselect_hwpart() at the
> beginning of mmc_bread() which causes block cache being invalidated too
> frequently and makes block cache useless.
> 
> So it's not a good idea to put blkcache_invalidate() in the common
> functions. It should be called inside mmc_select_hwpart().
> 
> Signed-off-by: Weijie Gao <weijie....@mediatek.com>
> Tested-by: Felix Brack <f...@ltec.ch>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to