X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=net%2Feth.c;h=233032059c79eb254dc6218d35ef75b397cbe57f;hb=6bf6f114dcdd97ec3f80c2761ed40e31229d6b78;hp=69f4e20c57498d5c14ede24043507f94578fa518;hpb=5dc210dec5bace98a50b6ba905347890091a9bb0;p=platform%2Fkernel%2Fu-boot.git diff --git a/net/eth.c b/net/eth.c index 69f4e20..2330320 100644 --- a/net/eth.c +++ b/net/eth.c @@ -28,6 +28,14 @@ #if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) +#if defined(CONFIG_SHOW_BOOT_PROGRESS) +# include +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 @@ -247,10 +255,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 (", ");