summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx/cpu.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-09-14 08:41:07 -0500
committerJon Loeliger <jdl@freescale.com>2006-09-14 08:41:07 -0500
commitb440d0ef72e6278973d3220c10136a4c0624c286 (patch)
tree665d650fda659f27c8c1f3d6d1e9ae08b08ef7f8 /cpu/mpc86xx/cpu.c
parent0855c50e6509d03ce2af1e9c4d1dc09ba426faa5 (diff)
parentd14ba6a798beb753e7a864500414fcc2d198b8bc (diff)
downloadu-boot-imx-b440d0ef72e6278973d3220c10136a4c0624c286.zip
u-boot-imx-b440d0ef72e6278973d3220c10136a4c0624c286.tar.gz
u-boot-imx-b440d0ef72e6278973d3220c10136a4c0624c286.tar.bz2
Merge branch 'mpc86xx'
Diffstat (limited to 'cpu/mpc86xx/cpu.c')
-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;