summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-07-09 23:41:45 +0200
committerWolfgang Denk <wd@denx.de>2007-07-09 23:41:45 +0200
commitbf6a9ca9b2aa219612c3678444b8123e28aa8940 (patch)
treee2d6a2c2c8af12dbc6f3438d13de485473f714d5 /net/eth.c
parente80955f07de03fef0196353e77534b2300193c1c (diff)
parenta5d71e290f3673269be8eefb4ec44f53412f9461 (diff)
downloadu-boot-imx-bf6a9ca9b2aa219612c3678444b8123e28aa8940.zip
u-boot-imx-bf6a9ca9b2aa219612c3678444b8123e28aa8940.tar.gz
u-boot-imx-bf6a9ca9b2aa219612c3678444b8123e28aa8940.tar.bz2
Merge with /home/hs/Atronic/u-boot
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index ab56dcf..7414d70 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -28,6 +28,14 @@
#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
@@ -142,6 +150,7 @@ int eth_initialize(bd_t *bis)
eth_devices = NULL;
eth_current = NULL;
+ SHOW_BOOT_PROGRESS(64);
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
miiphy_init();
#endif
@@ -247,10 +256,12 @@ int eth_initialize(bd_t *bis)
if (!eth_devices) {
puts ("No ethernet found.\n");
+ SHOW_BOOT_PROGRESS(-64);
} else {
struct eth_device *dev = eth_devices;
char *ethprime = getenv ("ethprime");
+ SHOW_BOOT_PROGRESS(65);
do {
if (eth_number)
puts (", ");