From: Magnus Damm Date: Wed, 6 Feb 2008 14:57:57 +0000 (+0900) Subject: sh: add probe support for new sh7722 cut X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cfb629cfa4a8d9b65c0f60c65ec731bde82d60c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git sh: add probe support for new sh7722 cut This patch adds support for sh7722 devices with prr value 0xa1. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index f2b9238cda04..89b454b1f0f1 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/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;