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/pcs440ep.c | |
parent | cd24a6bf2183ac24080e0348e193ba627711fcbc (diff) | |
download | u-boot-imx-c8e66db7893532f2222334e7c36ee841da34ef4c.zip u-boot-imx-c8e66db7893532f2222334e7c36ee841da34ef4c.tar.gz u-boot-imx-c8e66db7893532f2222334e7c36ee841da34ef4c.tar.bz2 |
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/pcs440ep.c')
-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 f67eedd..746a54c 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 |