From 578ac1e9ba4c79175e69becb28e7157a84eff241 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 10 Dec 2011 11:07:54 +0000 Subject: bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress() This changes the number 15 as used in boot_stage_progress() to use the new name provided for it. This is a separate patch because it touches so many files. Signed-off-by: Simon Glass Acked-by: Mike Frysinger --- board/sixnet/sixnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/sixnet') diff --git a/board/sixnet/sixnet.c b/board/sixnet/sixnet.c index edb5d133b7..a13c72dcd7 100644 --- a/board/sixnet/sixnet.c +++ b/board/sixnet/sixnet.c @@ -46,7 +46,7 @@ void show_boot_progress (int status) { #if defined(CONFIG_STATUS_LED) # if defined(STATUS_LED_BOOT) - if (status == 15) { + if (status == BOOTSTAGE_ID_RUN_OS) { /* ready to transfer to kernel, make sure LED is proper state */ status_led_set(STATUS_LED_BOOT, CONFIG_BOOT_LED_STATE); } -- cgit v1.2.1