]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mcf523x/cpu.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / mcf523x / cpu.c
index bdc152f07824ad83e5ad216d60bc9287942eb8f1..1ce90fd15efb953eaf06ce2d1136356b3266af2b 100644 (file)
@@ -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;