summaryrefslogtreecommitdiffstats
path: root/board/pcs440ep
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-01-14 15:24:47 +0000
committerWolfgang Denk <wd@denx.de>2012-03-18 20:57:37 +0100
commit5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 (patch)
treea34f1ace5187bf68d8203ce55cd21d7324e7e5ab /board/pcs440ep
parent5ddb118da4cbd34c3c8a0231dedad56ba504699f (diff)
downloadu-boot-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.tar.gz
u-boot-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.tar.xz
u-boot-5dc887164e031dbd6544031eb4dcb8e5c4ddeb13.zip
bootstage: Convert progress numbers 1-9 into enums
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/pcs440ep')
-rw-r--r--board/pcs440ep/pcs440ep.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/board/pcs440ep/pcs440ep.c b/board/pcs440ep/pcs440ep.c
index 36994b531c..118d81c7f2 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 */