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