]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc83xx/cpu.c
Merge /home/tur/nand/u-boot/
[karo-tx-uboot.git] / cpu / mpc83xx / cpu.c
index 7a1f939ba0d599ac6ed40e95e691e9a984b174dc..8c9b515fa5c72aa3346e1c282010f8b2e5c1aa9c 100644 (file)
@@ -60,7 +60,9 @@ int checkcpu(void)
                puts("Rev: Unknown\n");
                return -1;      /* Not sure what this is */
        }
-       printf("Rev: %02x at %s MHz\n",pvr & 0x0000FFFF, strmhz(buf, clock));
+       printf("Rev: %d.%d at %s MHz\n", (pvr & 0xf0) >> 4,
+               (pvr & 0x0f), strmhz(buf, clock));
+
        return 0;
 }