summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-16 13:28:47 +0200
committerStefan Roese <sr@denx.de>2007-07-16 13:28:47 +0200
commit8f085e324ad89423314b1a529a0dd5d85c8397ad (patch)
treea165c33f92619a488756edc3261a53468c8b55b6 /net
parent8848ec858f74ed6dab06fb6d5ddc933e0a1328bf (diff)
parent3a6cab844cf74f76639d795e0be8717e02c86af7 (diff)
downloadu-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.zip
u-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.tar.gz
u-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'net')
-rw-r--r--net/eth.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/net/eth.c b/net/eth.c
index 7414d70..9fb3a10 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
@@ -150,7 +142,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
@@ -256,12 +248,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 (", ");