summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:44:19 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commitad3381cf4167120db5c7b88e4970245e1d5c0a32 (patch)
tree93a19cb4ee835e33553e591c9c55c11cb3763548 /include/netdev.h
parent4fce2aceaf8afd31a252bc782c9dbc497bf40487 (diff)
downloadu-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.zip
u-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.tar.gz
u-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.tar.bz2
Moved initialization of E1000 Ethernet controller to board_eth_init()
Affected boards: ap1000 mvbc_p PM854 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 1013a80..fa4d92d 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -42,6 +42,7 @@ int cpu_eth_init(bd_t *bis);
/* Driver initialization prototypes */
int bfin_EMAC_initialize(bd_t *bis);
+int e1000_initialize(bd_t *bis);
int eth_3com_initialize (bd_t * bis);
int greth_initialize(bd_t *bis);
void gt6426x_eth_initialize(bd_t *bis);
@@ -69,6 +70,9 @@ static inline int pci_eth_init(bd_t *bis)
{
int num = 0;
+#ifdef CONFIG_E1000
+ num += e1000_initialize(bis);
+#endif
#ifdef CONFIG_PCNET
num += pcnet_initialize(bis);
#endif