aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/realview_eb.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:17 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:17 -0400
commitba9279519b371340e01cadf4c230e9d52a4bf8c4 (patch)
tree146b5d30f75554382d018be4877ea66f2d6ad64c /arch/arm/mach-realview/realview_eb.c
parentbc02c58bd13cfaf5a9930d7f2ca4f7d5ed4fa807 (diff)
Allow the L2X0 outer cache support to be configurable
By default, this option was selected by the platform Kconfig. This patch adds "depends on" to L2X0 so that it can be enabled/disabled manually. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/realview_eb.c')
-rw-r--r--arch/arm/mach-realview/realview_eb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 247b55620477..5782d83fd886 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -365,9 +365,11 @@ static void __init realview_eb_init(void)
365 if (core_tile_eb11mp()) { 365 if (core_tile_eb11mp()) {
366 realview_eb11mp_fixup(); 366 realview_eb11mp_fixup();
367 367
368#ifdef CONFIG_CACHE_L2X0
368 /* 1MB (128KB/way), 8-way associativity, evmon/parity/share enabled 369 /* 1MB (128KB/way), 8-way associativity, evmon/parity/share enabled
369 * Bits: .... ...0 0111 1001 0000 .... .... .... */ 370 * Bits: .... ...0 0111 1001 0000 .... .... .... */
370 l2x0_init(__io_address(REALVIEW_EB11MP_L220_BASE), 0x00790000, 0xfe000fff); 371 l2x0_init(__io_address(REALVIEW_EB11MP_L220_BASE), 0x00790000, 0xfe000fff);
372#endif
371 } 373 }
372 374
373 clk_register(&realview_clcd_clk); 375 clk_register(&realview_clcd_clk);