diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-10 16:08:42 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-11 17:49:25 +0900 |
commit | 6f579db75411973200224307d6a84d82fc01bb96 (patch) | |
tree | 806be2070614ebb9218a4fadeaaf4ee891cf91ba /arch/arm/mach-uniphier/arm32/cache-uniphier.h | |
parent | bcc51c1512a3deb6a9fdd37362c6dde32ad3da23 (diff) | |
download | u-boot-imx-6f579db75411973200224307d6a84d82fc01bb96.zip u-boot-imx-6f579db75411973200224307d6a84d82fc01bb96.tar.gz u-boot-imx-6f579db75411973200224307d6a84d82fc01bb96.tar.bz2 |
ARM: uniphier: export uniphier_cache_enable/disable functions
The System Cache (outer cache) is used not only as L2 cache,
but also as locked SRAM. The functions for turning on/off it
is necessary whether the L2 cache is enabled or not.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm32/cache-uniphier.h b/arch/arm/mach-uniphier/arm32/cache-uniphier.h index f67f6ae..733cd80 100644 --- a/arch/arm/mach-uniphier/arm32/cache-uniphier.h +++ b/arch/arm/mach-uniphier/arm32/cache-uniphier.h @@ -13,5 +13,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_enable(void); +void uniphier_cache_disable(void); #endif /* __CACHE_UNIPHIER_H */ |