u-boot/drivers/block
Weijie Gao 1ce884797c Revert "blk: Invalidate block cache when switching hwpart"
This reverts commit 0ebe112d09.

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.gao@mediatek.com>
Tested-by: Felix Brack <fb@ltec.ch>
2019-08-30 14:17:11 -04:00
..
blk-uclass.c Revert "blk: Invalidate block cache when switching hwpart" 2019-08-30 14:17:11 -04:00
blk_legacy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
blkcache.c blk: Increase cache element size 2019-01-15 15:28:53 -05:00
ide.c blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
Kconfig blk: Allow control of the block cache in TPL 2019-07-10 16:52:58 -06:00
Makefile blk: Rework guard around part_init call 2018-12-12 12:14:22 -05:00
sandbox.c blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00