]> git.dujemihanovic.xyz Git - u-boot.git/commit
sh: cache: Fill in invalidate_icache_all()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 9 Sep 2024 23:18:09 +0000 (01:18 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 13 Oct 2024 21:20:07 +0000 (23:20 +0200)
commit0034edc2f49faa3d773536b8f01f1e4cf8fca2a9
tree5b24b7a48d3c909f40e3b97d9eddf986a824f4ee
parent47e544f576699ca4630e20448db6a05178960697
sh: cache: Fill in invalidate_icache_all()

Implement invalidate_icache_all() by clearing all V bits in
IC and OC. This is done by setting CCR cache control register
ICI and OCI bits.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
arch/sh/cpu/sh4/cache.c