summaryrefslogtreecommitdiffstats
path: root/board/prodrive
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-03-02 22:39:32 +0000
committerWolfgang Denk <wd@denx.de>2012-03-06 21:13:26 +0100
commit021f6038a233bc6a60edc4adc1819492fddff9ff (patch)
treefabe55ab81f61c2fa338a0748fbfc92c99dd9ca5 /board/prodrive
parent658c3b9eafd0167fd150f129c0720eb305efc225 (diff)
downloadu-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.tar.gz
u-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.tar.xz
u-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.zip
PPC: Drop mv6446x_eth_initialize() from net/eth.c
This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/prodrive')
-rw-r--r--board/prodrive/p3mx/eth.h1
-rw-r--r--board/prodrive/p3mx/p3mx.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/board/prodrive/p3mx/eth.h b/board/prodrive/p3mx/eth.h
index aab32d2a5a..44ffba8c63 100644
--- a/board/prodrive/p3mx/eth.h
+++ b/board/prodrive/p3mx/eth.h
@@ -39,5 +39,6 @@ int db64360_eth0_transmit(unsigned int s, volatile char *p);
void db64360_eth0_disable(void);
bool network_start(bd_t *bis);
+int mv6446x_eth_initialize(bd_t *);
#endif /* __EVB64360_ETH_H__ */
diff --git a/board/prodrive/p3mx/p3mx.c b/board/prodrive/p3mx/p3mx.c
index 09e4f823f0..389affcde0 100644
--- a/board/prodrive/p3mx/p3mx.c
+++ b/board/prodrive/p3mx/p3mx.c
@@ -851,3 +851,8 @@ void my_remap_gt_regs_bootm (u32 cur_loc, u32 new_loc)
!= temp);
}
+
+int board_eth_init(bd_t *bis)
+{
+ return mv6446x_eth_initialize(bis);
+}