summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-07-30 10:02:44 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-13 13:03:56 +0000
commitf2415141ef2c798c0f21c85a0ea89c703d7c7a21 (patch)
tree2c59ba087c0f612619d7f655feb4936d2b65a166
parent7ceb2ae796e6cd2b38a3344cffc8aa93032345ec (diff)
downloadvboot-firmware-mistral-12422.B.tar.gz
vboot: remove unused and deprecated vboot1 error codesfirmware-mistral-12422.B
BUG=b:124141368, chromium:988410 TEST=make clean && make runtests BRANCH=none Change-Id: I59b5646a79769cb9fafdecd904021a5df85906b6 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1728295 Commit-Queue: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--firmware/2lib/include/2return_codes.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index e800f488..4aa3f5dd 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -40,14 +40,6 @@ enum vb2_return_code {
*/
/* Unable to initialize shared data */
VBERROR_INIT_SHARED_DATA = 0x10001,
- /* Error resuming TPM during a S3 resume */
- VBERROR_TPM_S3_RESUME = 0x10002,
- /* VbSelectFirmware() failed to find a valid firmware */
- VBERROR_LOAD_FIRMWARE = 0x10003,
- /* Unable to write firmware versions to TPM */
- VBERROR_TPM_WRITE_FIRMWARE = 0x10004,
- /* Unable to lock firmware versions in TPM */
- VBERROR_TPM_LOCK_FIRMWARE = 0x10005,
/* Unable to set boot mode state in TPM */
VBERROR_TPM_SET_BOOT_MODE_STATE = 0x10006,
/* Calling firmware needs to perform a reboot. */
@@ -56,8 +48,6 @@ enum vb2_return_code {
VBERROR_TPM_FIRMWARE_SETUP = 0x10008,
/* Unable to read kernel versions from TPM */
VBERROR_TPM_READ_KERNEL = 0x10009,
- /* Attempt to load developer-only firmware with developer switch off */
- VBERROR_DEV_FIRMWARE_SWITCH_MISMATCH = 0x1000A,
/* Unable to write kernel versions to TPM */
VBERROR_TPM_WRITE_KERNEL = 0x1000B,
/* Unable to lock kernel versions in TPM */
@@ -80,44 +70,22 @@ enum vb2_return_code {
VBERROR_INVALID_BMPFV = 0x10014,
/* Invalid screen index */
VBERROR_INVALID_SCREEN_INDEX = 0x10015,
- /* VbExBeep() can't make sounds at all */
- VBERROR_NO_SOUND = 0x10018,
/* VbExBeep() can't make sound in the background */
VBERROR_NO_BACKGROUND_SOUND = 0x10019,
/* Need EC to reboot to read-only code to switch RW slot */
VBERROR_EC_REBOOT_TO_SWITCH_RW = 0x1001A,
- /* Developer has requested a BIOS shell */
- VBERROR_BIOS_SHELL_REQUESTED = 0x10020,
- /* Need initialized display and don't have it, or vice-versa.
- Deprecated; should use VBERROR_REBOOT_REQUIRED instead. */
- VBERROR_DEPRECATED_DISPLAY_INIT_MISMATCH = 0x10021,
/* Need EC to reboot to read-only code */
VBERROR_EC_REBOOT_TO_RO_REQUIRED = 0x10022,
- /* Invalid region read parameters */
- VBERROR_REGION_READ_INVALID = 0x10023,
- /* Cannot read from region */
- VBERROR_REGION_READ_FAILED = 0x10024,
- /* Unsupported region type */
- VBERROR_UNSUPPORTED_REGION = 0x10025,
- /* No image present (was returned from VbGbbReadImage(); deprecated */
+ /* No image present */
VBERROR_NO_IMAGE_PRESENT = 0x10026,
/* failed to draw screen */
VBERROR_SCREEN_DRAW = 0x10027,
- /* failed to jump to RW image */
- VBERROR_RW_JUMP_FAILED = 0x10028,
/* Error reading FWMP from TPM (note: not present is not an error) */
VBERROR_TPM_READ_FWMP = 0x10029,
/* Peripheral busy. Cannot upgrade firmware at present. */
VBERROR_PERIPHERAL_BUSY = 0x10030,
- /* Error reading or writing Alt OS flags to TPM */
- VBERROR_DEPRECATED_TPM_ALT_OS = 0x10031,
/* Error writing VPD */
VBERROR_VPD_WRITE = 0x10032,
-
- /* VbExEcGetExpectedRWHash() may return the following codes */
- /* Compute expected RW hash from the EC image; BIOS doesn't have it */
- VBERROR_EC_GET_EXPECTED_HASH_FROM_IMAGE = 0x20000,
-
/* Detachable UI internal functions may return the following codes */
/* No error; return to UI loop */
VBERROR_KEEP_LOOPING = 0x30000,