]> git.baikalelectronics.ru Git - uboot.git/commit
blk: Remove various places that do flush cache after read
authorBin Meng <bmeng.cn@gmail.com>
Wed, 13 Sep 2017 02:00:23 +0000 (19:00 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 15 Sep 2017 12:05:10 +0000 (08:05 -0400)
commit340c484da6a967bb7f2b63ba5e8c70ffd45660c2
tree44953c1e7fc2634c1e3ec329262d9a3332ba0453
parent7e53441229f269b84a11be0d9b47d644827ae06b
blk: Remove various places that do flush cache after read

All these places seem to inherit the codes from the MMC driver where
a FIXME was put in the comment. However the correct operation after
read should be cache invalidate, not flush.

The underlying drivers should be responsible for the cache operation.
Remove these codes completely.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/ppa.c
board/toradex/common/tdx-cfg-block.c
cmd/mmc.c
drivers/block/blk-uclass.c
drivers/block/blk_legacy.c
drivers/net/fm/fm.c
drivers/net/phy/cortina.c
drivers/qe/qe.c