From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 23 Aug 2017 16:06:15 +0000 Subject: [U-Boot] [PATCH] blk: Remove various places that do flush cache after read References: <1503373600-20847-1-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/21/2017 08:42 PM, Bin Meng wrote: > 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 > --- > > arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 15 --------------- > board/toradex/common/tdx-cfg-block.c | 2 -- > cmd/mmc.c | 2 -- > drivers/block/blk-uclass.c | 3 --- > drivers/block/blk_legacy.c | 3 --- > drivers/net/fm/fm.c | 2 -- > drivers/net/phy/cortina.c | 2 -- > drivers/qe/qe.c | 2 -- > 8 files changed, 31 deletions(-) > Tested on LS1043ARDB with SD and NAND boot for PPA and FM. Tested-by: York Sun Reviewed-by: York Sun