summaryrefslogtreecommitdiffstats
path: root/cpu/mcf532x/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mcf532x/cpu.c')
-rw-r--r--cpu/mcf532x/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf532x/cpu.c b/cpu/mcf532x/cpu.c
index 260d6e6755..8c496a2a2a 100644
--- a/cpu/mcf532x/cpu.c
+++ b/cpu/mcf532x/cpu.c
@@ -117,7 +117,7 @@ int watchdog_init(void)
u32 wdog_module = 0;
/* set timeout and enable watchdog */
- wdog_module = ((CFG_CLK / 1000) * CONFIG_WATCHDOG_TIMEOUT);
+ wdog_module = ((CONFIG_SYS_CLK / 1000) * CONFIG_WATCHDOG_TIMEOUT);
#ifdef CONFIG_M5329
wdp->mr = (wdog_module / 8192);
#else
OpenPOWER on IntegriCloud