]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mcf532x/cpu.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / mcf532x / cpu.c
index 260d6e67557c5ebef9b509c351399b7303ba06e9..8c496a2a2ae4e6b44862d307cda69dfd8802c936 100644 (file)
@@ -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