浏览代码

sh: add probe support for new sh7722 cut

This patch adds support for sh7722 devices with prr value 0xa1.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Magnus Damm 17 年之前
父节点
当前提交
1cfb629cfa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/kernel/cpu/sh4/probe.c

+ 1 - 1
arch/sh/kernel/cpu/sh4/probe.c

@@ -126,7 +126,7 @@ int __init detect_cpu_and_cache_system(void)
 					  CPU_HAS_LLSC;
 		break;
 	case 0x3008:
-		if (prr == 0xa0) {
+		if (prr == 0xa0 || prr == 0xa1) {
 			boot_cpu_data.type = CPU_SH7722;
 			boot_cpu_data.icache.ways = 4;
 			boot_cpu_data.dcache.ways = 4;