diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-08-04 14:29:01 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-05 22:08:33 -0700 |
commit | b48cd672a731df7866b43110c62ebbbf23120125 (patch) | |
tree | c802584d1d998c0a38df1fe8ddebe336c6a18658 /firmware | |
parent | 8dde1491e59a750a71c08c3d98f7f4f659b68a05 (diff) | |
download | vboot-b48cd672a731df7866b43110c62ebbbf23120125.tar.gz |
Add WAIT screen to default bitmap
Some systems take a long time to program the EC firmware (because it's
behind a really slow I2C bus or something). This could happen at any boot as
part of software sync. If it's necessary to reprogram the EC on a slow
system, we need to display a BIOS screen to the user so he/she doesn't think
it's bricked.
This CL is just to add a new default bitmap so we'll have something to
display when we need it. Nothing actually uses it yet.
BUG=chrome-os-partner:12254
TEST=none
There should be no user-visible changes. We don't invoke this screen yet.
Change-Id: Icb922f933e2e921472dbdff7a26a3ca4d58fbba3
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29241
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/include/vboot_api.h | 1 | ||||
-rw-r--r-- | firmware/lib/vboot_display.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index b6748fc8..5d29cf2a 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -525,6 +525,7 @@ enum VbScreenType_t { VB_SCREEN_RECOVERY_NO_GOOD = 0x203, /* Recovery - inserted image invalid */ VB_SCREEN_RECOVERY_TO_DEV = 0x204, /* Recovery - confirm dev mode */ VB_SCREEN_DEVELOPER_TO_NORM = 0x205, /* Developer - confirm normal mode */ + VB_SCREEN_WAIT = 0x206, /* Please wait - programming EC */ }; /* Initialize and clear the display. Set width and height to the screen diff --git a/firmware/lib/vboot_display.c b/firmware/lib/vboot_display.c index f49155be..94feff1d 100644 --- a/firmware/lib/vboot_display.c +++ b/firmware/lib/vboot_display.c @@ -225,6 +225,9 @@ VbError_t VbDisplayScreenFromGBB(VbCommonParams* cparams, uint32_t screen, case VB_SCREEN_DEVELOPER_TO_NORM: screen_index = 5; break; + case VB_SCREEN_WAIT: + screen_index = 6; + break; case VB_SCREEN_BLANK: case VB_SCREEN_DEVELOPER_EGG: default: |