summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-05 16:46:23 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-05 16:46:23 +0200
commit45b3fd28152ed8c52f2dad06a422ac6e95cd48fd (patch)
treeacfdf13b17246d2225db904112345ab1db2099cc /net
parentaf8377d4eb3a0ac5a831830d5ce63fbf65fecb7f (diff)
parentb1b54e352028ed370c3aa95d6fdeb9d64c5d2f86 (diff)
downloadu-boot-imx-45b3fd28152ed8c52f2dad06a422ac6e95cd48fd.zip
u-boot-imx-45b3fd28152ed8c52f2dad06a422ac6e95cd48fd.tar.gz
u-boot-imx-45b3fd28152ed8c52f2dad06a422ac6e95cd48fd.tar.bz2
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'net')
-rw-r--r--net/eth.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/net/eth.c b/net/eth.c
index 7414d70..68e2c54 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -28,14 +28,6 @@
#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI)
-#if defined(CONFIG_SHOW_BOOT_PROGRESS)
-# include <status_led.h>
-extern void show_ethcfg_progress (int arg);
-# define SHOW_BOOT_PROGRESS(arg) show_boot_progress (arg)
-#else
-# define SHOW_BOOT_PROGRESS(arg)
-#endif
-
#ifdef CFG_GT_6426x
extern int gt6426x_eth_initialize(bd_t *bis);
#endif
@@ -48,6 +40,7 @@ extern int eth_3com_initialize(bd_t*);
extern int fec_initialize(bd_t*);
extern int inca_switch_initialize(bd_t*);
extern int mpc5xxx_fec_initialize(bd_t*);
+extern int mpc512x_fec_initialize(bd_t*);
extern int mpc8220_fec_initialize(bd_t*);
extern int mv6436x_eth_initialize(bd_t *);
extern int mv6446x_eth_initialize(bd_t *);
@@ -150,7 +143,7 @@ int eth_initialize(bd_t *bis)
eth_devices = NULL;
eth_current = NULL;
- SHOW_BOOT_PROGRESS(64);
+ show_boot_progress (64);
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
miiphy_init();
#endif
@@ -176,6 +169,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_MPC5xxx_FEC)
mpc5xxx_fec_initialize(bis);
#endif
+#if defined(CONFIG_MPC512x_FEC)
+ mpc512x_fec_initialize (bis);
+#endif
#if defined(CONFIG_MPC8220_FEC)
mpc8220_fec_initialize(bis);
#endif
@@ -256,12 +252,12 @@ int eth_initialize(bd_t *bis)
if (!eth_devices) {
puts ("No ethernet found.\n");
- SHOW_BOOT_PROGRESS(-64);
+ show_boot_progress (-64);
} else {
struct eth_device *dev = eth_devices;
char *ethprime = getenv ("ethprime");
- SHOW_BOOT_PROGRESS(65);
+ show_boot_progress (65);
do {
if (eth_number)
puts (", ");