diff options
author | Simon Glass <sjg@chromium.org> | 2012-01-14 15:24:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 20:57:37 +0100 |
commit | 5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 (patch) | |
tree | a34f1ace5187bf68d8203ce55cd21d7324e7e5ab /board/pcs440ep/pcs440ep.c | |
parent | 5ddb118da4cbd34c3c8a0231dedad56ba504699f (diff) | |
download | u-boot-imx-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.zip u-boot-imx-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.tar.gz u-boot-imx-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.tar.bz2 |
bootstage: Convert progress numbers 1-9 into enums
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/pcs440ep/pcs440ep.c')
-rw-r--r-- | board/pcs440ep/pcs440ep.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/board/pcs440ep/pcs440ep.c b/board/pcs440ep/pcs440ep.c index 36994b5..118d81c 100644 --- a/board/pcs440ep/pcs440ep.c +++ b/board/pcs440ep/pcs440ep.c @@ -104,17 +104,17 @@ void show_boot_progress (int val) return; } switch (val) { - case 1: - /* validating Image */ - status_led_set (0, STATUS_LED_OFF); - status_led_set (1, STATUS_LED_ON); - status_led_set (2, STATUS_LED_ON); - break; - case BOOTSTAGE_ID_RUN_OS: - status_led_set (0, STATUS_LED_ON); - status_led_set (1, STATUS_LED_ON); - status_led_set (2, STATUS_LED_ON); - break; + case BOOTSTAGE_ID_CHECK_MAGIC: + /* validating Image */ + status_led_set(0, STATUS_LED_OFF); + status_led_set(1, STATUS_LED_ON); + status_led_set(2, STATUS_LED_ON); + break; + case BOOTSTAGE_ID_RUN_OS: + status_led_set(0, STATUS_LED_ON); + status_led_set(1, STATUS_LED_ON); + status_led_set(2, STATUS_LED_ON); + break; #if 0 case 64: /* starting Ethernet configuration */ |