Skip to contentSkip to conversation

sh: add probe support for new sh7722 cut

PATCH New Magnus Damm 1 participant 1 message Feb 6, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: add probe support for new sh7722 cut

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

---

 arch/sh/kernel/cpu/sh4/probe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/cpu/sh4/probe.c +1 -1
@@ -126,7 +126,7 @@ int __init detect_cpu_and_cache_system(v
 					  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;