summaryrefslogtreecommitdiff
path: root/firmware/stub
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-08-23 15:06:45 -0700
committerGerrit <chrome-bot@google.com>2012-09-20 17:32:22 -0700
commita2326ee152ab5b8aee924ccf794cee38d54909bd (patch)
treee39ef194d12e95624e893f6963b0b116e377eb91 /firmware/stub
parent40bc7b7802e89b009c3dbcd0a63cbd44d411659c (diff)
downloadvboot-a2326ee152ab5b8aee924ccf794cee38d54909bd.tar.gz
Add CTRL-L in dev screen to support a "legacy boot option"
This option is disabled per default and can be enabled with crossystem dev_boot_legacy=1 or by setting the GBB flag GBB_FLAG_FORCE_DEV_BOOT_LEGACY 0x00000080 BUG=chrome-os-partner:6108 TEST=crossystem dev_boot_legacy=1 boot to dev mode screen, press CTRL-L, see SeaBIOS start (other CLs needed) BRANCH=link Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Change-Id: I593d2be7cff5ca07b8d08012c4514a172bd75a38 Reviewed-on: https://gerrit.chromium.org/gerrit/31265 Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'firmware/stub')
-rw-r--r--firmware/stub/vboot_api_stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/stub/vboot_api_stub.c b/firmware/stub/vboot_api_stub.c
index 53a49d26..8521db0e 100644
--- a/firmware/stub/vboot_api_stub.c
+++ b/firmware/stub/vboot_api_stub.c
@@ -188,3 +188,8 @@ VbError_t VbExEcUpdateRW(const uint8_t *image, int image_size) {
VbError_t VbExEcProtectRW(void) {
return VBERROR_SUCCESS;
}
+
+int VbExLegacy(void)
+{
+ return 1;
+}