X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fpm854%2Fpm854.c;h=5353d738b4cfe13c55875db5fc8a0cc36bc61227;hb=cade7d9577d4d17f55404b5e60cd5e5b0b605c31;hp=db855df6fb7974d16f3e11d58c84993149a5e29e;hpb=f61f1e150c84f5b9347fca79a4bc5f2286c545d2;p=oweals%2Fu-boot.git diff --git a/board/pm854/pm854.c b/board/pm854/pm854.c index db855df6fb..5353d738b4 100644 --- a/board/pm854/pm854.c +++ b/board/pm854/pm854.c @@ -144,13 +144,13 @@ local_bus_init(void) * Errata LBC11. * Fix Local Bus clock glitch when DLL is enabled. * - * If localbus freq is < 66Mhz, DLL bypass mode must be used. - * If localbus freq is > 133Mhz, DLL can be safely enabled. + * If localbus freq is < 66MHz, DLL bypass mode must be used. + * If localbus freq is > 133MHz, DLL can be safely enabled. * Between 66 and 133, the DLL is enabled with an override workaround. */ get_sys_info(&sysinfo); - clkdiv = lbc->lcrr & 0x0f; + clkdiv = lbc->lcrr & LCRR_CLKDIV; lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv; if (lbc_hz < 66) {