Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146859
b: refs/heads/master
c: b4bd9eb
h: refs/heads/master
i:
  146857: b275243
  146855: 071a29e
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jun 2, 2009
1 parent 1c12647 commit 3d83d8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fab88d9fe98e9091aafeb9789fbf2e04fdace8ed
refs/heads/master: b4bd9eb0d8f5c20f942ff037c8a7939f69cb188a
9 changes: 9 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,15 @@ void __init plat_early_device_setup(void)
ARRAY_SIZE(sh7724_early_devices));
}

#define RAMCR_CACHE_L2FC 0x0002
#define RAMCR_CACHE_L2E 0x0001
#define L2_CACHE_ENABLE (RAMCR_CACHE_L2E|RAMCR_CACHE_L2FC)
void __uses_jump_to_uncached l2_cache_init(void)
{
/* Enable L2 cache */
ctrl_outl(L2_CACHE_ENABLE, RAMCR);
}

enum {
UNUSED = 0,

Expand Down

0 comments on commit 3d83d8b

Please sign in to comment.