]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mcf547x_8x/cpu.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / mcf547x_8x / cpu.c
index 1ba7aa80a3efee66685f65d4b3b684cdbd02f842..f9a3544dd6d82e6f549dc5a7021d1351d486ffc9 100644 (file)
@@ -28,6 +28,7 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
+#include <netdev.h>
 
 #include <asm/immap.h>
 
@@ -132,7 +133,7 @@ int watchdog_init(void)
        volatile gptmr_t *gptmr = (gptmr_t *) (MMAP_GPTMR);
 
        gptmr->pre = CONFIG_WATCHDOG_TIMEOUT;
-       gptmr->cnt = CFG_TIMER_PRESCALER * 1000;
+       gptmr->cnt = CONFIG_SYS_TIMER_PRESCALER * 1000;
 
        gptmr->mode = GPT_TMS_SGPIO;
        gptmr->ctrl = GPT_CTRL_CE | GPT_CTRL_WDEN;
@@ -148,9 +149,6 @@ int watchdog_init(void)
  *     int board_eth_init(bd_t *bis)
  */
 
-extern int mcdmafec_initialize(bd_t *bis);
-extern int mcffec_initialize(bd_t*);
-
 int cpu_eth_init(bd_t *bis)
 {
 #if defined(CONFIG_FSLDMAFEC)