]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: l2c: cns3xxx: remove cache size override
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Mar 2014 12:06:27 +0000 (12:06 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:49:07 +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.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-cns3xxx/core.c

index 5c31b2638c01b640cf714682de71cfe3fdd5b796..f85449a6accd9210544952b6f2ce9939f5bed1da 100644 (file)
@@ -290,7 +290,7 @@ void __init cns3xxx_l2x0_init(void)
        writel(val, base + L310_DATA_LATENCY_CTRL);
 
        /* 32 KiB, 8-way, parity disable */
-       l2x0_init(base, 0x00540000, 0xfe000fff);
+       l2x0_init(base, 0x00500000, 0xfe0f0fff);
 }
 
 #endif /* CONFIG_CACHE_L2X0 */