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 /board/pcs440ep | |
parent | cd24a6bf2183ac24080e0348e193ba627711fcbc (diff) |
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 'board/pcs440ep')
-rw-r--r-- | board/pcs440ep/pcs440ep.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/board/pcs440ep/pcs440ep.c b/board/pcs440ep/pcs440ep.c index f67eeddeb7..746a54c5e3 100644 --- a/board/pcs440ep/pcs440ep.c +++ b/board/pcs440ep/pcs440ep.c @@ -117,19 +117,19 @@ void show_boot_progress (int val) status_led_set(2, STATUS_LED_ON); break; #if 0 - case 64: - /* starting Ethernet configuration */ - status_led_set (0, STATUS_LED_OFF); - status_led_set (1, STATUS_LED_OFF); - status_led_set (2, STATUS_LED_ON); - break; + case BOOTSTAGE_ID_NET_ETH_START: + /* starting Ethernet configuration */ + status_led_set(0, STATUS_LED_OFF); + status_led_set(1, STATUS_LED_OFF); + status_led_set(2, STATUS_LED_ON); + break; #endif - case 80: - /* loading Image */ - status_led_set (0, STATUS_LED_ON); - status_led_set (1, STATUS_LED_OFF); - status_led_set (2, STATUS_LED_ON); - break; + case BOOTSTAGE_ID_NET_START: + /* loading Image */ + status_led_set(0, STATUS_LED_ON); + status_led_set(1, STATUS_LED_OFF); + status_led_set(2, STATUS_LED_ON); + break; } } #endif |