Commit e731a538 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled

If CONFIG_UNIPHIER_L2CACHE_ON is undefined, the L2 cache is never
enabled, so there is no need for v7_outer_cache_disable().  The weak
stub avoids the compile error anyway.
Signed-off-by: default avatarMasahiro Yamada <>
parent 95a1feca
......@@ -183,7 +183,6 @@ void v7_outer_cache_enable(void)
writel(tmp, UNIPHIER_SSCC);
void v7_outer_cache_disable(void)
......@@ -193,6 +192,7 @@ void v7_outer_cache_disable(void)
writel(tmp, UNIPHIER_SSCC);
void enable_caches(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment