* [PATCH] sh: add probe support for new sh7722 cut
@ 2008-02-06 14:57 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2008-02-06 14:57 UTC (permalink / raw)
To: linux-sh
This patch adds support for sh7722 devices with prr value 0xa1.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
arch/sh/kernel/cpu/sh4/probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/sh/kernel/cpu/sh4/probe.c
+++ work/arch/sh/kernel/cpu/sh4/probe.c 2008-02-06 20:23:07.000000000 +0900
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-06 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06 14:57 [PATCH] sh: add probe support for new sh7722 cut Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox