diff options
author | Simon Glass <sjg@chromium.org> | 2012-01-14 15:24:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 20:57:37 +0100 |
commit | 5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 (patch) | |
tree | a34f1ace5187bf68d8203ce55cd21d7324e7e5ab /include | |
parent | 5ddb118da4cbd34c3c8a0231dedad56ba504699f (diff) | |
download | u-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 'include')
-rw-r--r-- | include/bootstage.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index 63a6435..408356c 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -44,6 +44,20 @@ * error on action3 */ enum bootstage_id { + BOOTSTAGE_ID_START = 0, + BOOTSTAGE_ID_CHECK_MAGIC, /* Checking image magic */ + BOOTSTAGE_ID_CHECK_HEADER, /* Checking image header */ + BOOTSTAGE_ID_CHECK_CHECKSUM, /* Checking image checksum */ + BOOTSTAGE_ID_CHECK_ARCH, /* Checking architecture */ + + BOOTSTAGE_ID_CHECK_IMAGETYPE = 5,/* Checking image type */ + BOOTSTAGE_ID_DECOMP_IMAGE, /* Decompressing image */ + BOOTSTAGE_ID_KERNEL_LOADED, /* Kernel has been loaded */ + BOOTSTAGE_ID_DECOMP_UNIMPL = 7, /* Odd decompression algorithm */ + BOOTSTAGE_ID_CHECK_BOOT_OS, /* Calling OS-specific boot function */ + BOOTSTAGE_ID_BOOT_OS_RETURNED, /* Tried to boot OS, but it returned */ + BOOTSTAGE_ID_CHECK_RAMDISK = 9, /* Checking ram disk */ + BOOTSTAGE_ID_RUN_OS = 15, /* Exiting U-Boot, entering OS */ }; |