summaryrefslogtreecommitdiff
path: root/board/stxssa
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:45:44 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commit8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0 (patch)
treeba9fe46a4ee78f693f456bef7d8aa93662b09886 /board/stxssa
parentad3381cf4167120db5c7b88e4970245e1d5c0a32 (diff)
downloadu-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.zip
u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.gz
u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.bz2
Moved initialization of TULIP Ethernet controller to board_eth_init()
Affected boards: cu824 bab7xx adciop dasa_sim mousse mpc8540eval musenki mvblue pcippc2/pcippc6 sbc8240 stxssa Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/stxssa')
-rw-r--r--board/stxssa/stxssa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/stxssa/stxssa.c b/board/stxssa/stxssa.c
index 124e123..71e9b08 100644
--- a/board/stxssa/stxssa.c
+++ b/board/stxssa/stxssa.c
@@ -39,6 +39,7 @@
#include <asm/io.h>
#include <spd_sdram.h>
#include <miiphy.h>
+#include <netdev.h>
long int fixed_sdram (void);
@@ -400,3 +401,10 @@ pci_init_board(void)
pci_mpc85xx_init(hose);
#endif /* CONFIG_PCI */
}
+
+int board_eth_init(bd_t *bis)
+{
+ cpu_eth_init(bis); /* Initialize TSECs first */
+ return pci_eth_init(bis);
+}
+