summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8568mds/mpc8568mds.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mpc8568mds/mpc8568mds.c')
-rw-r--r--board/freescale/mpc8568mds/mpc8568mds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b/board/freescale/mpc8568mds/mpc8568mds.c
index bc93be8..7a23b33 100644
--- a/board/freescale/mpc8568mds/mpc8568mds.c
+++ b/board/freescale/mpc8568mds/mpc8568mds.c
@@ -188,7 +188,7 @@ local_bus_init(void)
sys_info_t sysinfo;
get_sys_info(&sysinfo);
- clkdiv = (lbc->lcrr & 0x0f) * 2;
+ clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2;
lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
gur->lbiuiplldcr1 = 0x00078080;