diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-04-09 04:57:05 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-04-18 12:50:07 -0400 |
commit | e5a4c65bef19366112ba002bc06d87450f02ad74 (patch) | |
tree | b1ca288b8c78685047fe16d47efaa1a5002c70e8 /arch/sh/kernel | |
parent | 178dd0cd28168287a0be6444a7eef8918b6c544e (diff) |
sh: Fix up SH-4A part probe.
The SH-4A series probe we were relying on doesn't work any more on the
newer parts, bump this up to use CVR.CHIP instead so we have consistent
behaviour across all of the parts, which is what this should have been
testing in the first place.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index c478b16dbf4b..6ea87af7247e 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -53,7 +53,7 @@ int __init detect_cpu_and_cache_system(void) | |||
53 | /* | 53 | /* |
54 | * Setup some generic flags we can probe on SH-4A parts | 54 | * Setup some generic flags we can probe on SH-4A parts |
55 | */ | 55 | */ |
56 | if (((pvr >> 16) & 0xff) == 0x10) { | 56 | if (((pvr >> 24) & 0xff) == 0x10) { |
57 | if ((cvr & 0x10000000) == 0) | 57 | if ((cvr & 0x10000000) == 0) |
58 | boot_cpu_data.flags |= CPU_HAS_DSP; | 58 | boot_cpu_data.flags |= CPU_HAS_DSP; |
59 | 59 | ||