On Fri, Jan 4, 2019 at 8:38 AM Lukas Auer <lukas.a...@aisec.fraunhofer.de> wrote: > > The flush_cache() function in lib/cache.c ignores its arguments and > flushes the complete data and instruction caches. Use the > invalidate/flush_*cache_range() functions instead to only flush the > requested memory region. > > This patch does not change the current behavior of U-Boot, since the > implementation of the invalidate/flush_*cache_range() functions flush > the complete data and instruction caches. It is in preparation for CPUs > with the necessary functionality for flushing a selectable memory range. > > Signed-off-by: Lukas Auer <lukas.a...@aisec.fraunhofer.de> > --- > > Changes in v2: > - New patch "riscv: use invalidate/flush_*cache_range functions in > cache.c" > > arch/riscv/lib/cache.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot