summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-09-14 08:40:36 -0500
committerJon Loeliger <jdl@freescale.com>2006-09-14 08:40:36 -0500
commitd14ba6a798beb753e7a864500414fcc2d198b8bc (patch)
treeb66fc024a27651014e52196bbb71b3ad0bc3ba25 /include
parent9bff7a69a885adebbd2bd45990494ec4cf998a30 (diff)
downloadu-boot-imx-d14ba6a798beb753e7a864500414fcc2d198b8bc.zip
u-boot-imx-d14ba6a798beb753e7a864500414fcc2d198b8bc.tar.gz
u-boot-imx-d14ba6a798beb753e7a864500414fcc2d198b8bc.tar.bz2
Handle 86xx SVR values according to the new Reference Manual.
Both 8641 and 8641D have SVR == 0x8090, and are distinguished by the byte in bits 16-23 instead. Thanks to Jason Jin for noticing. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/processor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 0060cd0..553ef3d 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -802,6 +802,8 @@
#define SVR_VER(svr) (((svr) >> 16) & 0xFFFF) /* Version field */
#define SVR_REV(svr) (((svr) >> 0) & 0xFFFF) /* Revison field */
+#define SVR_SUBVER(svr) (((svr) >> 8) & 0xFF) /* Process/MFG sub-version */
+
#define SVR_FAM(svr) (((svr) >> 20) & 0xFFF) /* Family field */
#define SVR_MEM(svr) (((svr) >> 16) & 0xF) /* Member field */
@@ -819,9 +821,8 @@
#define SVR_8541 0x807A
#define SVR_8548 0x8031
#define SVR_8548_E 0x8039
-
#define SVR_8641 0x8090
-#define SVR_8641D 0x8091
+
/* I am just adding a single entry for 8260 boards. I think we may be
* able to combine mbx, fads, rpxlite, bseip, and classic into a single