]> git.dujemihanovic.xyz Git - u-boot.git/commit
microblaze: cache: introduce flush_cache_all()
authorOvidiu Panait <ovpanait@gmail.com>
Tue, 31 May 2022 18:14:30 +0000 (21:14 +0300)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:16:00 +0000 (14:16 +0200)
commitb195134984ec714f92632704e4725ced170ab1da
tree72552154a552750b5c9d81ffb6645005161af08a
parent84488fc69348367ee693ea4ab6affe3cbcae97a0
microblaze: cache: introduce flush_cache_all()

All flush_cache() calls in microblaze code are supposed to flush the
entire instruction and data caches, so introduce flush_cache_all()
helper to handle this.

Also, provide implementations for flush_dcache_all() and
invalidate_icache_all() so that icache and dcache u-boot commands can
work.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-9-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/microblaze/cpu/cache.c
arch/microblaze/cpu/start.S
arch/microblaze/include/asm/cache.h
arch/microblaze/lib/bootm.c