powerpc/40x: Distinguish AMCC PowerPC 405EX and 405EXr correctly
authorLee Nipper <lee.nipper@gmail.com>
Fri, 9 Jul 2010 01:17:16 +0000 (01:17 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 26 Jul 2010 13:07:24 +0000 (09:07 -0400)
commitff349103964d43c28b7b80bdecf7ace0113b3dda
tree89de9ac8ea2d74044791b03c641861b5aba1bf98
parent9a52e392bd053f1d282488517125c6c1ab77006a
powerpc/40x: Distinguish AMCC PowerPC 405EX and 405EXr correctly

The recent AMCC 405EX Rev D without Security uses a PVR value
that matches the old 405EXr Rev A/B with Security.
The 405EX Rev D without Security would be shown
incorrectly as an 405EXr. The pvr_mask of 0xffff0004
is no longer sufficient to distinguish the 405EX from 405EXr.

This patch replaces 2 entries in the cpu_specs table
and adds 8 more, each using pvr_mask of 0xffff000f
and appropriate pvr_value to distinguish the AMCC
PowerPC 405EX and 405EXr instances.
The cpu_name for these entries now includes the
Rev, in similar fashion to the 440GX.

Signed-off-by: Lee Nipper <lee.nipper@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cputable.c