summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf523x/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/cpu/mcf523x/cpu.c')
-rw-r--r--arch/m68k/cpu/mcf523x/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf523x/cpu.c b/arch/m68k/cpu/mcf523x/cpu.c
index e44656db5f..6d87908965 100644
--- a/arch/m68k/cpu/mcf523x/cpu.c
+++ b/arch/m68k/cpu/mcf523x/cpu.c
@@ -92,7 +92,7 @@ int watchdog_init(void)
u32 wdog_module = 0;
/* set timeout and enable watchdog */
- wdog_module = ((CONFIG_SYS_CLK / CONFIG_SYS_HZ) * CONFIG_WATCHDOG_TIMEOUT);
+ wdog_module = ((CFG_SYS_CLK / CONFIG_SYS_HZ) * CONFIG_WATCHDOG_TIMEOUT);
wdog_module |= (wdog_module / 8192);
out_be16(&wdp->mr, wdog_module);