Commit 6343b05f authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: SPEAr: conditionalize l2x0 support

If the cache controller implementation is disabled at build time,
we must not call any functions related to it.

arch/arm/mach-spear/built-in.o: In function `spear13xx_l2x0_init':
arch/arm/mach-spear/spear13xx.c:47: undefined reference to `l2x0_init'

Signed-off-by: default avatarArnd Bergmann <>
Acked-by: default avatarViresh Kumar <>
parent cb48389b
......@@ -92,6 +92,8 @@ void __init spear13xx_l2x0_init(void)
* write alloc and 'Full line of zero' options
writel_relaxed(0x06, VA_L2CC_BASE + L2X0_PREFETCH_CTRL);
Supports Markdown
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