summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-10-22 23:20:29 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-11-09 21:38:02 -0800
commit3456a148276d5494b53ee40242efb6462d163504 (patch)
tree08495259e439a064f442318155596a13c68f4011 /net
parent62e15b497f5c6334c059512678c8db7940ae4c61 (diff)
downloadu-boot-imx-3456a148276d5494b53ee40242efb6462d163504.zip
u-boot-imx-3456a148276d5494b53ee40242efb6462d163504.tar.gz
u-boot-imx-3456a148276d5494b53ee40242efb6462d163504.tar.bz2
Moved initialization of FCC Ethernet controller to cpu_eth_init
Affected boards: Several MPC8xx boards Several MPC8260/MPC8272 boards Several MPC85xx boards Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/eth.c b/net/eth.c
index 72fed69..6cf53f4 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -39,7 +39,6 @@ static int __def_eth_init(bd_t *bis)
int cpu_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));
int board_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));
-extern int fec_initialize(bd_t*);
extern int mpc8220_fec_initialize(bd_t*);
extern int mv6436x_eth_initialize(bd_t *);
extern int mv6446x_eth_initialize(bd_t *);
@@ -184,10 +183,6 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_UEC_ETH6)
uec_initialize(5);
#endif
-
-#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
- fec_initialize(bis);
-#endif
if (!eth_devices) {
puts ("No ethernet found.\n");
show_boot_progress (-64);