]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/pm856/pm856.c
mpc8xxx: LCRR[CLKDIV] is sometimes five bits
[karo-tx-uboot.git] / board / pm856 / pm856.c
index 932f1121e858498fdf19829c3b8dde07375e6614..b14a3d34b1f66abf794d39cad2518dc31e746f4b 100644 (file)
@@ -306,7 +306,7 @@ local_bus_init(void)
         */
 
        get_sys_info(&sysinfo);
-       clkdiv = lbc->lcrr & 0x0f;
+       clkdiv = lbc->lcrr & LCRR_CLKDIV;
        lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
 
        if (lbc_hz < 66) {