diff options
| author | Simon Glass <sjg@chromium.org> | 2012-01-14 15:24:52 +0000 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 21:33:05 +0100 | 
| commit | c8e66db7893532f2222334e7c36ee841da34ef4c (patch) | |
| tree | d06eaa23d0da3abe470b3b1df1748697afb1157c /net/eth.c | |
| parent | cd24a6bf2183ac24080e0348e193ba627711fcbc (diff) | |
| download | olio-uboot-2014.01-c8e66db7893532f2222334e7c36ee841da34ef4c.tar.xz olio-uboot-2014.01-c8e66db7893532f2222334e7c36ee841da34ef4c.zip | |
bootstage: Convert net progress numbers to enums
This changes over the network-related progress numbers to use enums
from bootstage.h.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/eth.c')
| -rw-r--r-- | net/eth.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -256,7 +256,7 @@ int eth_initialize(bd_t *bis)  	eth_devices = NULL;  	eth_current = NULL; -	show_boot_progress (64); +	show_boot_progress(BOOTSTAGE_ID_NET_ETH_START);  #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)  	miiphy_init();  #endif @@ -280,12 +280,12 @@ int eth_initialize(bd_t *bis)  	if (!eth_devices) {  		puts ("No ethernet found.\n"); -		show_boot_error(64); +		show_boot_error(BOOTSTAGE_ID_NET_ETH_START);  	} else {  		struct eth_device *dev = eth_devices;  		char *ethprime = getenv ("ethprime"); -		show_boot_progress (65); +		show_boot_progress(BOOTSTAGE_ID_NET_ETH_INIT);  		do {  			if (dev->index)  				puts (", "); |