From fe4253c8598cb60653c7eaadbee7a4aec128efd3 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 12 Mar 2015 19:22:51 -0700 Subject: vboot: when configured, pass the wipeout request to vboot It has become necessary to be able to "factory reset" certain devices on firmware request. The vboot package has been modified to provide the necessary API, this patch introduces a configuration option and uses the API when enabled. CQ-DEPEND=CL:259857 BRANCH=storm BUG=chrome-os-partner:37219 TEST=with all the patches applied, on storm, holding the recovery button at startup for 10 seconds, causes 'crossystem wipeout_request' to report '1'. Change-Id: I5e57bc05af3753f451626021ba30c7726badb7b4 Signed-off-by: Patrick Georgi Original-Commit-Id: f70e03e9a8c55bf3c45b075ae4fecfd25da4f446 Original-Change-Id: I4c2192da4fabfdef34d527e5b80d137634eb6987 Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/259843 Original-Reviewed-by: David Hendricks Reviewed-on: http://review.coreboot.org/9862 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/include/bootmode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/bootmode.h b/src/include/bootmode.h index 55e3f5f36f..bad17af27d 100644 --- a/src/include/bootmode.h +++ b/src/include/bootmode.h @@ -26,6 +26,7 @@ int get_write_protect_state(void); int get_developer_mode_switch(void); int get_recovery_mode_switch(void); int clear_recovery_mode_switch(void); +int get_wipeout_mode_switch(void); int gfx_get_init_done(void); -- cgit v1.2.3