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>
This commit is contained in:
Yoshihiro Shimoda
2009-08-21 16:30:28 +09:00
committed by Paul Mundt
parent 9e7291c112
commit c01f0f1a4a
14 changed files with 2954 additions and 8 deletions

View File

@@ -139,8 +139,15 @@ int __init detect_cpu_and_cache_system(void)
}
break;
case 0x300b:
boot_cpu_data.type = CPU_SH7724;
boot_cpu_data.flags |= CPU_HAS_L2_CACHE;
switch (prr) {
case 0x20:
boot_cpu_data.type = CPU_SH7723;
boot_cpu_data.flags |= CPU_HAS_L2_CACHE;
break;
case 0x50:
boot_cpu_data.type = CPU_SH7757;
break;
}
break;
case 0x4000: /* 1st cut */
case 0x4001: /* 2nd cut */