-
由 Weijie Gao 提交于
This reverts commit 0ebe112d. 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: NWeijie Gao <weijie.gao@mediatek.com> Tested-by: NFelix Brack <fb@ltec.ch>
1ce88479