ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Aug 2016 07:08:38 +0000 (16:08 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 11 Aug 2016 08:49:12 +0000 (17:49 +0900)
commite731a5385d1e8b0ffaa69977899dc4246de53db4
treee64e93c325370ee63ef204a678f226316a637674
parent95a1feca2e852ade552495e3688c5ef2afae68aa
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: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm32/cache-uniphier.c