aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2009-08-21 03:30:28 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-21 04:25:47 -0400
commitc01f0f1a4a96eb3acc5850e18cc43f24366966d0 (patch)
tree402c307afc1af3023e1e1528f0abd190e94ae4e7 /arch/sh/kernel/cpu/sh4
parent9e7291c1124655980ab05fc89930de8e218c7d64 (diff)
sh: Add initial support for SH7757 CPU subtype
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4')
-rw-r--r--arch/sh/kernel/cpu/sh4/probe.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c
index 6c78d0a9c857..10e6795b56aa 100644
--- a/arch/sh/kernel/cpu/sh4/probe.c
+++ b/arch/sh/kernel/cpu/sh4/probe.c
@@ -139,8 +139,15 @@ int __init detect_cpu_and_cache_system(void)
139 } 139 }
140 break; 140 break;
141 case 0x300b: 141 case 0x300b:
142 boot_cpu_data.type = CPU_SH7724; 142 switch (prr) {
143 boot_cpu_data.flags |= CPU_HAS_L2_CACHE; 143 case 0x20:
144 boot_cpu_data.type = CPU_SH7723;
145 boot_cpu_data.flags |= CPU_HAS_L2_CACHE;
146 break;
147 case 0x50:
148 boot_cpu_data.type = CPU_SH7757;
149 break;
150 }
144 break; 151 break;
145 case 0x4000: /* 1st cut */ 152 case 0x4000: /* 1st cut */
146 case 0x4001: /* 2nd cut */ 153 case 0x4001: /* 2nd cut */