summaryrefslogtreecommitdiff
path: root/cpu/mcf52x2/cpu.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 22:22:04 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:16 -0700
commit89973f8a82c28ad893c4c3cc56839a8e10fe5f13 (patch)
tree6b27db2a54eae36850cf4ec07e8505c401652714 /cpu/mcf52x2/cpu.c
parent5a8a163ac394d9f4f7ff57f415d82bd673b0068c (diff)
downloadu-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.zip
u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.gz
u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.bz2
Introduce netdev.h header file and remove externs
This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu/mcf52x2/cpu.c')
-rw-r--r--cpu/mcf52x2/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mcf52x2/cpu.c b/cpu/mcf52x2/cpu.c
index 2af31cb..167097a 100644
--- a/cpu/mcf52x2/cpu.c
+++ b/cpu/mcf52x2/cpu.c
@@ -32,6 +32,7 @@
#include <watchdog.h>
#include <command.h>
#include <asm/immap.h>
+#include <netdev.h>
#ifdef CONFIG_M5271
/*
@@ -328,8 +329,6 @@ int do_reset(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[])
* int board_eth_init(bd_t *bis)
*/
-extern int mcffec_initialize(bd_t*);
-
int cpu_eth_init(bd_t *bis)
{
return mcffec_initialize(bis);