Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146860
b: refs/heads/master
c: 138f025
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jun 2, 2009
1 parent 3d83d8b commit bd0fdea
Show file tree
Hide file tree
Showing 2 changed files with 11 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: b4bd9eb0d8f5c20f942ff037c8a7939f69cb188a
refs/heads/master: 138f025267dcc07d5e7d0bb1f20e9a6b5f2fdcf7
10 changes: 10 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7723.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/serial_sci.h>
#include <linux/uio_driver.h>
#include <linux/sh_timer.h>
#include <linux/io.h>
#include <asm/clock.h>
#include <asm/mmzone.h>

Expand Down Expand Up @@ -485,6 +486,15 @@ void __init plat_early_device_setup(void)
ARRAY_SIZE(sh7723_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 bd0fdea

Please sign in to comment.