summaryrefslogtreecommitdiff
path: root/include/asm-ppc/e300.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-04-16 14:34:16 -0500
committerKim Phillips <kim.phillips@freescale.com>2007-04-23 16:31:59 -0500
commit95e7ef897e54591e615fc1b458b74c286fe1fb06 (patch)
tree80745edf1ca4c5412ada5040322f85c5d1fa2806 /include/asm-ppc/e300.h
parenta35b0c4950d84cf9e3a9e32b916135956d1ac636 (diff)
downloadu-boot-imx-95e7ef897e54591e615fc1b458b74c286fe1fb06.zip
u-boot-imx-95e7ef897e54591e615fc1b458b74c286fe1fb06.tar.gz
u-boot-imx-95e7ef897e54591e615fc1b458b74c286fe1fb06.tar.bz2
mpc83xx: Change PVR_83xx to PVR_E300C1-3, and update checkcpu().
Rather than misleadingly define PVR_83xx as the specific type of 83xx being built for, the PVR of each core revision is defined. checkcpu() now prints the core that it detects, rather than aborting if it doesn't find what it thinks it wants. Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/asm-ppc/e300.h')
-rw-r--r--include/asm-ppc/e300.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/include/asm-ppc/e300.h b/include/asm-ppc/e300.h
index ff9512f..d1bb159 100644
--- a/include/asm-ppc/e300.h
+++ b/include/asm-ppc/e300.h
@@ -6,19 +6,9 @@
#ifndef __E300_H__
#define __E300_H__
-/*
- * e300 Processor Version & Revision Numbers
- */
-#define PVR_83xx 0x80830000
-#define PVR_8349_REV10 (PVR_83xx | 0x0010)
-#define PVR_8349_REV11 (PVR_83xx | 0x0011)
-#define PVR_8360_REV10 (PVR_83xx | 0x0020)
-#define PVR_8360_REV11 (PVR_83xx | 0x0020)
-
-#if defined(CONFIG_MPC832X)
-#undef PVR_83xx
-#define PVR_83xx 0x80840000
-#endif
+#define PVR_E300C1 0x80830000
+#define PVR_E300C2 0x80840000
+#define PVR_E300C3 0x80850000
/*
* Hardware Implementation-Dependent Register 0 (HID0)