summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-07-25 09:28:39 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-07-29 08:53:39 -0500
commit8992738db72f817e99f25ec4c675e67d0e702a3d (patch)
treedc6c404038287ead5b3add299cd3f1bd81dde9a8 /arch/powerpc/include/asm/processor.h
parent65bb8b060a873fa4f5188f2951081f6011259614 (diff)
downloadu-boot-imx-8992738db72f817e99f25ec4c675e67d0e702a3d.zip
u-boot-imx-8992738db72f817e99f25ec4c675e67d0e702a3d.tar.gz
u-boot-imx-8992738db72f817e99f25ec4c675e67d0e702a3d.tar.bz2
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>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
-rw-r--r--arch/powerpc/include/asm/processor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 9c4651a..0c4cc25 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -938,6 +938,10 @@
#define PVR_85xx 0x80200000
#define PVR_85xx_REV1 (PVR_85xx | 0x0010)
#define PVR_85xx_REV2 (PVR_85xx | 0x0020)
+#define PVR_VER_E500_V1 0x8020
+#define PVR_VER_E500_V2 0x8021
+#define PVR_VER_E500MC 0x8023
+#define PVR_VER_E5500 0x8024
#define PVR_86xx 0x80040000