ARC: Implement a function to sync and cleanup caches
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 21 Mar 2018 12:59:02 +0000 (15:59 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 21 Mar 2018 14:06:54 +0000 (17:06 +0300)
commit375945bac2b8cbb547940ad5cf1e16a0eb0ddfeb
tree1c6a6f8b134ee60f38229a995d7843f75b44a5de
parent95336738f1cf2d4fabfc9bfc4981fa14714efc30
ARC: Implement a function to sync and cleanup caches

Implement specialized function to clenup caches (and therefore
sync instruction and data caches) which can be used for cleanup before linux
launch or to sync caches during U-Boot self-relocation.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/include/asm/cache.h
arch/arc/lib/bootm.c
arch/arc/lib/cache.c
arch/arc/lib/init_helpers.c