summaryrefslogtreecommitdiff
path: root/board/bf533-stamp
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-10 11:07:57 +0000
committerWolfgang Denk <wd@denx.de>2012-03-18 20:59:53 +0100
commit5e41088364582b6435f6d7a6e6d7a36f3fa94701 (patch)
tree336ab30de3a1a9c706d23a132c67b92eef4cec37 /board/bf533-stamp
parent5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 (diff)
downloadu-boot-imx-5e41088364582b6435f6d7a6e6d7a36f3fa94701.zip
u-boot-imx-5e41088364582b6435f6d7a6e6d7a36f3fa94701.tar.gz
u-boot-imx-5e41088364582b6435f6d7a6e6d7a36f3fa94701.tar.bz2
bootstage: Convert progress numbers 10-19 to enums
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf533-stamp')
-rw-r--r--board/bf533-stamp/bf533-stamp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/bf533-stamp/bf533-stamp.c b/board/bf533-stamp/bf533-stamp.c
index 07a988a..4d36160 100644
--- a/board/bf533-stamp/bf533-stamp.c
+++ b/board/bf533-stamp/bf533-stamp.c
@@ -112,11 +112,11 @@ void show_boot_progress(int status)
stamp_led_set(STATUS_LED_ON, STATUS_LED_ON, STATUS_LED_OFF);
break;
case BOOTSTAGE_ID_BOOT_OS_RETURNED:
- case 10:
- case 11:
- case 12:
- case 13:
- case 14:
+ case BOOTSTAGE_ID_RD_MAGIC:
+ case BOOTSTAGE_ID_RD_HDR_CHECKSUM:
+ case BOOTSTAGE_ID_RD_CHECKSUM:
+ case BOOTSTAGE_ID_RAMDISK:
+ case BOOTSTAGE_ID_NO_RAMDISK:
case BOOTSTAGE_ID_RUN_OS:
stamp_led_set(STATUS_LED_OFF, STATUS_LED_OFF, STATUS_LED_OFF);
break;