summaryrefslogtreecommitdiff
path: root/board/ivm
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/ivm
parent5ddb118da4cbd34c3c8a0231dedad56ba504699f (diff)
downloadu-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/ivm')
-rw-r--r--board/ivm/ivm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ivm/ivm.c b/board/ivm/ivm.c
index 9bec198..71d64d4 100644
--- a/board/ivm/ivm.c
+++ b/board/ivm/ivm.c
@@ -322,7 +322,7 @@ void show_boot_progress (int status)
(status < 0) ? STATUS_LED_ON : STATUS_LED_OFF);
# endif /* STATUS_LED_YELLOW */
# if defined(STATUS_LED_BOOT)
- if (status == 6)
+ if (status == BOOTSTAGE_ID_DECOMP_IMAGE)
status_led_set (STATUS_LED_BOOT, STATUS_LED_OFF);
# endif /* STATUS_LED_BOOT */
#endif /* CONFIG_STATUS_LED */