From c8e66db7893532f2222334e7c36ee841da34ef4c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 14 Jan 2012 15:24:52 +0000 Subject: 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 --- net/eth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/eth.c b/net/eth.c index 5cefe4c8be..77045ebeac 100644 --- a/net/eth.c +++ b/net/eth.c @@ -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 (", "); -- cgit v1.2.3