diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-06-26 16:33:56 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-06-27 17:40:40 -0700 |
commit | 17b8224ea582b2ba90b30a3e8e2d913e49c7818a (patch) | |
tree | 17458e3e00091416f4c09608b2e07e8848d6ed46 /firmware/include/vboot_struct.h | |
parent | 66b47ba37d3658cceecf30d25edc3becbb692c4a (diff) | |
download | vboot-17b8224ea582b2ba90b30a3e8e2d913e49c7818a.tar.gz |
Add bits to request and acknowledge Option ROM loading.
For fastest boot, we don't want to load the VGA Option ROM every time, but
only when we need it. Coreboot does that loading, but it can't always know
when it's needed (with keyboard-based dev-mode, coreboot can't tell if we're
in dev-mode or not). By the time we get to U-Boot, it's too late, so we need
two extra bits - one for vboot to tell coreboot to load the Option ROM and
another for coreboot to let vboot know it's been done.
BUG=chrome-os-partner:8789
TEST=manual
The only visible change is that crossystem will now have an "oprom_needed"
flag that can be set or cleared. Nothing actually pays attention to it yet,
though.
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: I521a6afdfb8ea17a8148b32eeb858844c981de9c
Reviewed-on: https://gerrit.chromium.org/gerrit/26272
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/include/vboot_struct.h')
-rw-r--r-- | firmware/include/vboot_struct.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/vboot_struct.h b/firmware/include/vboot_struct.h index d894e23d..cfd56717 100644 --- a/firmware/include/vboot_struct.h +++ b/firmware/include/vboot_struct.h @@ -233,6 +233,8 @@ typedef struct VbKernelPreambleHeader { #define VBSD_BOOT_RO_NORMAL_SUPPORT 0x00000200 /* VbInit was told that the system has a virtual dev-switch */ #define VBSD_HONOR_VIRT_DEV_SWITCH 0x00000400 +/* VbInit was told that the VGA Option ROM was loaded at boot */ +#define VBSD_BOOT_OPROM_LOADED 0x00000800 /* Result codes for VbSharedDataHeader.check_fw_a_result (and b_result) */ #define VBSD_LF_CHECK_NOT_DONE 0 |