mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
ARM: uniphier: set active ways to really enable outer cache
Each way must be unlocked to make it effective. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
6d95778283
commit
d649fb8aef
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ void v7_outer_cache_inval_range(u32 start, u32 end)
|
|||
void v7_outer_cache_enable(void)
|
||||
{
|
||||
u32 tmp;
|
||||
|
||||
writel(U32_MAX, SSCLPDAWCR); /* activate all ways */
|
||||
tmp = readl(SSCC);
|
||||
tmp |= SSCC_ON;
|
||||
writel(tmp, SSCC);
|
||||
|
|
Loading…
Reference in a new issue