diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index 191f0e2a7e08..000f3b82669b 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -495,6 +495,15 @@ void __init plat_early_device_setup(void) | |||
495 | ARRAY_SIZE(sh7724_early_devices)); | 495 | ARRAY_SIZE(sh7724_early_devices)); |
496 | } | 496 | } |
497 | 497 | ||
498 | #define RAMCR_CACHE_L2FC 0x0002 | ||
499 | #define RAMCR_CACHE_L2E 0x0001 | ||
500 | #define L2_CACHE_ENABLE (RAMCR_CACHE_L2E|RAMCR_CACHE_L2FC) | ||
501 | void __uses_jump_to_uncached l2_cache_init(void) | ||
502 | { | ||
503 | /* Enable L2 cache */ | ||
504 | ctrl_outl(L2_CACHE_ENABLE, RAMCR); | ||
505 | } | ||
506 | |||
498 | enum { | 507 | enum { |
499 | UNUSED = 0, | 508 | UNUSED = 0, |
500 | 509 | ||