aboutsummaryrefslogtreecommitdiffstats
path: root/board/freescale/mpc8541cds/mpc8541cds.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mpc8541cds/mpc8541cds.c')
-rw-r--r--board/freescale/mpc8541cds/mpc8541cds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8541cds/mpc8541cds.c b/board/freescale/mpc8541cds/mpc8541cds.c
index 7e40c5c80a..e6025c8a56 100644
--- a/board/freescale/mpc8541cds/mpc8541cds.c
+++ b/board/freescale/mpc8541cds/mpc8541cds.c
@@ -308,7 +308,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) {