Commit e5a4c65b authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 178dd0cd
...@@ -53,7 +53,7 @@ int __init detect_cpu_and_cache_system(void) ...@@ -53,7 +53,7 @@ int __init detect_cpu_and_cache_system(void)
/* /*
* Setup some generic flags we can probe on SH-4A parts * Setup some generic flags we can probe on SH-4A parts
*/ */
if (((pvr >> 16) & 0xff) == 0x10) { if (((pvr >> 24) & 0xff) == 0x10) {
if ((cvr & 0x10000000) == 0) if ((cvr & 0x10000000) == 0)
boot_cpu_data.flags |= CPU_HAS_DSP; boot_cpu_data.flags |= CPU_HAS_DSP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment