summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx
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 /cpu/mpc86xx
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 'cpu/mpc86xx')
-rw-r--r--cpu/mpc86xx/cpu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index ddd0ad3..551b243 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -76,11 +76,12 @@ checkcpu(void)
puts(" System: ");
switch (ver) {
case SVR_8641:
- puts("8641");
- break;
- case SVR_8641D:
+ if (SVR_SUBVER(svr) == 1) {
puts("8641D");
- break;
+ } else {
+ puts("8641");
+ }
+ break;
default:
puts("Unknown");
break;