ARM: l2c: nomadik: remove cache size override
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Mar 2014 12:10:16 +0000 (12:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:49:32 +0000 (00:49 +0100)
The cache size should already be present in the L2 cache auxiliary
control register: it is part of the integration process to configure
the hardware IP.  Most platforms get this right, yet still many
cargo-cult program, and assume that they always need specifying to
the L2 cache code.  Remove them so we can find out which really need
this.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-nomadik/cpu-8815.c

index 4a1065e41e9c5a9994fc2b2f9807f7bf6bbcfa1d..0f245bcc6b7ed13a4cd1adb4a954dd3b2178fc7e 100644 (file)
@@ -147,7 +147,7 @@ static void __init cpu8815_init_of(void)
 {
 #ifdef CONFIG_CACHE_L2X0
        /* At full speed latency must be >=2, so 0x249 in low bits */
-       l2x0_of_init(0x00730249, 0xfe000fff);
+       l2x0_of_init(0x00700249, 0xfe0fefff);
 #endif
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 }