diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-10 16:08:48 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-11 17:49:45 +0900 |
commit | ee9bc77f3abe316126c2413c77dddac2401214a8 (patch) | |
tree | f2668090d342edabc08f4acc0200ec5c4d5e9921 /arch/arm/mach-uniphier/arm32/cache-uniphier.h | |
parent | 5941638027b62d0d8c1a5881b38d53a13ebcc5e1 (diff) | |
download | u-boot-imx-ee9bc77f3abe316126c2413c77dddac2401214a8.zip u-boot-imx-ee9bc77f3abe316126c2413c77dddac2401214a8.tar.gz u-boot-imx-ee9bc77f3abe316126c2413c77dddac2401214a8.tar.bz2 |
ARM: uniphier: add uniphier_cache_set_active_ways()
This outer cache allows to control active ways independently for
each CPU, so this function will be useful to set up active ways
for a specific CPU.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/arm32/cache-uniphier.h')
-rw-r--r-- | arch/arm/mach-uniphier/arm32/cache-uniphier.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm32/cache-uniphier.h b/arch/arm/mach-uniphier/arm32/cache-uniphier.h index e095e68..493d66c 100644 --- a/arch/arm/mach-uniphier/arm32/cache-uniphier.h +++ b/arch/arm/mach-uniphier/arm32/cache-uniphier.h @@ -14,6 +14,7 @@ void uniphier_cache_prefetch_range(u32 start, u32 end, u32 ways); void uniphier_cache_touch_range(u32 start, u32 end, u32 ways); void uniphier_cache_touch_zero_range(u32 start, u32 end, u32 ways); void uniphier_cache_inv_way(u32 ways); +void uniphier_cache_set_active_ways(int cpu, u32 active_ways); void uniphier_cache_enable(void); void uniphier_cache_disable(void); |