aboutsummaryrefslogtreecommitdiff
path: root/net
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 /net
parent658c3b9eafd0167fd150f129c0720eb305efc225 (diff)
downloadu-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.zip
u-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.tar.gz
u-boot-021f6038a233bc6a60edc4adc1819492fddff9ff.tar.bz2
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 '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 a5780c5..f14767b 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -81,8 +81,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 mv6446x_eth_initialize(bd_t *);
-
#ifdef CONFIG_API
extern void (*push_packet)(volatile void *, int);
@@ -280,9 +278,6 @@ int eth_initialize(bd_t *bis)
} else
printf("Net Initialization Skipped\n");
-#if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx)
- mv6446x_eth_initialize(bis);
-#endif
if (!eth_devices) {
puts ("No ethernet found.\n");
show_boot_progress (-64);