]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/mpc8xx/cpu.c
powerpc: mpc8xx: get rid of the multiple PVR_ values
[u-boot] / arch / powerpc / cpu / mpc8xx / cpu.c
index 9da73ac22e2b6273ce6a7652f045aa9baff1878c..5a81bed5a1028c74c9b52e26b927c04debe7da6a 100644 (file)
@@ -42,7 +42,7 @@ static int check_CPU(long clock, uint pvr, uint immr)
 
        /* the highest 16 bits should be 0x0050 for a 860 */
 
-       if ((pvr >> 16) != 0x0050)
+       if (PVR_VER(pvr) != PVR_VER(PVR_8xx))
                return -1;
 
        k = (immr << 16) |