[U-Boot] [PATCH] blk: Remove various places that do flush cache after read

Simon Glass sjg at chromium.org
Sun Aug 27 20:09:53 UTC 2017


On 21 August 2017 at 21:46, Bin Meng <bmeng.cn at gmail.com> 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(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list