diff options
Diffstat (limited to 'cpu/mcf523x/cpu.c')
-rw-r--r-- | cpu/mcf523x/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf523x/cpu.c b/cpu/mcf523x/cpu.c index bdc152f078..1ce90fd15e 100644 --- a/cpu/mcf523x/cpu.c +++ b/cpu/mcf523x/cpu.c @@ -98,7 +98,7 @@ int watchdog_init(void) u32 wdog_module = 0; /* set timeout and enable watchdog */ - wdog_module = ((CFG_CLK / CFG_HZ) * CONFIG_WATCHDOG_TIMEOUT); + wdog_module = ((CONFIG_SYS_CLK / CONFIG_SYS_HZ) * CONFIG_WATCHDOG_TIMEOUT); wdog_module |= (wdog_module / 8192); wdp->mr = wdog_module; |