summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_api.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-01-13 12:58:06 -0800
committerGerrit <chrome-bot@google.com>2012-01-17 09:09:39 -0800
commit82e69b9f7494c5f939e2b546c06eeb13d68bdd03 (patch)
treef19a43ca900b0582b4e430c9a5d321eb05fd21f9 /firmware/include/vboot_api.h
parent68bd6130407ec0c8f070b49d69057a9f8cf3680d (diff)
downloadvboot-82e69b9f7494c5f939e2b546c06eeb13d68bdd03.tar.gz
Clean up return codes for better interaction with U-Boot.
BUG=none TEST=none Change-Id: I432de92e00444b58c20faadf8671ccc1c0056e28 Reviewed-on: https://gerrit.chromium.org/gerrit/14181 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Ready: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r--firmware/include/vboot_api.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index b9f9f4a6..3134eee6 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -53,7 +53,7 @@ enum VbErrorPredefined_t {
VBERROR_INIT_SHARED_DATA = 0x10001,
/* Error resuming TPM during a S3 resume */
VBERROR_TPM_S3_RESUME = 0x10002,
- /* LoadFirmware() failed to find a valid firmware */
+ /* VbSelectFirmware() failed to find a valid firmware */
VBERROR_LOAD_FIRMWARE = 0x10003,
/* Unable to write firmware versions to TPM */
VBERROR_TPM_WRITE_FIRMWARE = 0x10004,
@@ -81,9 +81,9 @@ enum VbErrorPredefined_t {
VBERROR_NO_KERNEL_FOUND = 0x1000F,
/* All OS kernels found were invalid (corrupt, improperly signed, etc.) */
VBERROR_INVALID_KERNEL_FOUND = 0x10010,
- /* LoadKernel() requested recovery mode */
+ /* VbSelectAndLoadKernel() requested recovery mode */
VBERROR_LOAD_KERNEL_RECOVERY = 0x10011,
- /* Other error inside LoadKernel() */
+ /* Other error inside VbSelectAndLoadKernel() */
VBERROR_LOAD_KERNEL = 0x10012,
/* Invalid Google binary block */
VBERROR_INVALID_GBB = 0x10013,
@@ -98,7 +98,9 @@ enum VbErrorPredefined_t {
/* VbExBeep() can't make sounds at all */
VBERROR_NO_SOUND = 0x10018,
/* VbExBeep() can't make sound in the background */
- VBERROR_NO_BACKGROUND_SOUND = 0x10019
+ VBERROR_NO_BACKGROUND_SOUND = 0x10019,
+ /* Developer has requested a BIOS shell */
+ VBERROR_BIOS_SHELL_REQUESTED = 0x10020
};