add error code for screen drawing failure
authorDaisuke Nojiri <dnojiri@chromium.org>
Wed, 2 Dec 2015 20:05:41 +0000 (12:05 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Thu, 3 Dec 2015 10:21:22 +0000 (02:21 -0800)
This patch adds error code for screen drawing failure.

BUG=none
BRANCH=tot
TEST=Tested on Glados

Change-Id: I04b349fd2c0bc539338b7ee27b8fa9544c85c873
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/315257
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
firmware/include/vboot_api.h

index ff858ac..95ef21d 100644 (file)
@@ -121,6 +121,8 @@ enum VbErrorPredefined_t {
        /* No image present (returned from VbGbbReadImage() for missing image) */
        VBERROR_NO_IMAGE_PRESENT              = 0x10026,
 
+       /* failed to draw screen */
+       VBERROR_SCREEN_DRAW                   = 0x10027,
        /* 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,