]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mcf532x/cpu.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / cpu / mcf532x / cpu.c
index 20d0d5cf279eb1c96fb6c1e97db601c65dbe3e3d..8c496a2a2ae4e6b44862d307cda69dfd8802c936 100644 (file)
@@ -28,6 +28,7 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
+#include <netdev.h>
 
 #include <asm/immap.h>
 
@@ -116,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
@@ -136,8 +137,6 @@ int watchdog_init(void)
  *     int board_eth_init(bd_t *bis)
  */
 
-extern int mcffec_initialize(bd_t*);
-
 int cpu_eth_init(bd_t *bis)
 {
        return mcffec_initialize(bis);