summaryrefslogtreecommitdiff
path: root/board/linkstation/linkstation.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 09:49:42 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:16 -0700
commit02d69891d95ee76b0e86e1715a4dc0b964a57cb7 (patch)
tree14b2acc0eff565edead777387677937f4214af68 /board/linkstation/linkstation.c
parent3ae071e44256144d6c1e3febb65f6c56bd433769 (diff)
downloadu-boot-imx-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.zip
u-boot-imx-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.tar.gz
u-boot-imx-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.tar.bz2
Moved initialization of RTL8169 Ethernet controller to board_eth_init()
Affected boards: linkstation r7780mp Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/linkstation/linkstation.c')
-rw-r--r--board/linkstation/linkstation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/linkstation/linkstation.c b/board/linkstation/linkstation.c
index 241cf03..afb96ae 100644
--- a/board/linkstation/linkstation.c
+++ b/board/linkstation/linkstation.c
@@ -26,6 +26,7 @@
#include <mpc824x.h>
#include <asm/io.h>
#include <ns16550.h>
+#include <netdev.h>
#ifdef CONFIG_PCI
#include <pci.h>
@@ -128,3 +129,8 @@ int board_early_init_f (void)
out_8((volatile u8*)UART_DCR, 1);
return 0;
}
+
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}