From 5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 14 Jan 2012 15:24:47 +0000 Subject: bootstage: Convert progress numbers 1-9 into enums Signed-off-by: Simon Glass --- board/ivm/ivm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/ivm') diff --git a/board/ivm/ivm.c b/board/ivm/ivm.c index 9bec198c2e..71d64d434f 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 */ -- cgit v1.2.1