diff options
author | Simon Glass <sjg@chromium.org> | 2012-02-13 13:51:18 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 21:41:39 +0100 |
commit | 770605e4f9874230728f5a592820c619b1565ebc (patch) | |
tree | 3b2f89a4e63727c1ad650e98107acb58c0fcfe2f /net/eth.c | |
parent | 5ff55390ed80da2570fbeab51bdd2d2a43d4901a (diff) |
bootstage: Replace show_boot_progress/error() with bootstage_...()
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.
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(BOOTSTAGE_ID_NET_ETH_START); + bootstage_mark(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(BOOTSTAGE_ID_NET_ETH_START); + bootstage_error(BOOTSTAGE_ID_NET_ETH_START); } else { struct eth_device *dev = eth_devices; char *ethprime = getenv ("ethprime"); - show_boot_progress(BOOTSTAGE_ID_NET_ETH_INIT); + bootstage_mark(BOOTSTAGE_ID_NET_ETH_INIT); do { if (dev->index) puts (", "); |