[U-Boot] [PATCH] blk: Remove various places that do flush cache after read
York Sun
york.sun at nxp.com
Wed Aug 23 16:06:15 UTC 2017
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 <bmeng.cn at gmail.com>
> ---
>
> 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 <york.sun at nxp.com>
Reviewed-by: York Sun <york.sun at nxp.com>
More information about the U-Boot
mailing list