]> git.sur5r.net Git - u-boot/blobdiff - cpu/ppc4xx/speed.c
ppc4xx: Replace 4xx lowercase SPR references
[u-boot] / cpu / ppc4xx / speed.c
index 6cb93f3f1789956fcaee864ce705bafcd941ea5e..c0a5824a63a7e9af8dcacd4a6acef3ac7a52d3ea 100644 (file)
@@ -394,7 +394,8 @@ void get_sys_info (sys_info_t *sysInfo)
        sysInfo->freqUART = sysInfo->freqPLB;
 
        /* Figure which timer source to use */
-       if (mfspr(ccr1) & 0x0080) { /* External Clock, assume same as SYS_CLK */
+       if (mfspr(SPRN_CCR1) & 0x0080) {
+               /* External Clock, assume same as SYS_CLK */
                temp = sysInfo->freqProcessor / 2;  /* Max extern clock speed */
                if (CONFIG_SYS_CLK_FREQ > temp)
                        sysInfo->freqTmrClk = temp;