powerpc/85xx: Cleanup handling of PVR detection for e500/e500mc/e5500
authorKumar Gala <galak@kernel.crashing.org>
Mon, 25 Jul 2011 14:28:39 +0000 (09:28 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:39 +0000 (08:53 -0500)
commit8992738db72f817e99f25ec4c675e67d0e702a3d
treedc6c404038287ead5b3add299cd3f1bd81dde9a8
parent65bb8b060a873fa4f5188f2951081f6011259614
powerpc/85xx: Cleanup handling of PVR detection for e500/e500mc/e5500

At some point we broke the detection of e500v1 class cores.  Fix that
and simply the code to just utilize PVR_VER() to have a single case
statement.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/include/asm/processor.h