summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-09-03 11:27:27 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-09-23 19:35:31 +0000
commita40032780fe4da7d95b203fb3d05a25183590952 (patch)
tree895097018f5907f4be8b3e8f19cd2c9d8aafe4ba /src/include
parentd738b1459788590e9ab21d09f32fbf2eca324412 (diff)
downloadcoreboot-a40032780fe4da7d95b203fb3d05a25183590952.tar.xz
chromeos: vboot and chromeos dependency removal for sw write protect state
This removes the dependency on chromeos and vboot for the sw write protect state function: vboot_get_sw_write_protect, renamed to get_sw_write_protect_state to both reflect this change and become consistent with the definition of get_write_protect_state that is already in use. Change-Id: I47ce31530a03f6749e0f370e5d868466318b3bb6 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: http://review.coreboot.org/11496 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/bootmode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/bootmode.h b/src/include/bootmode.h
index 96c789bd70..730c0f37d3 100644
--- a/src/include/bootmode.h
+++ b/src/include/bootmode.h
@@ -23,6 +23,7 @@
/* functions implemented per mainboard: */
void init_bootmode_straps(void);
int get_write_protect_state(void);
+int get_sw_write_protect_state(void);
int get_developer_mode_switch(void);
int get_recovery_mode_switch(void);
int clear_recovery_mode_switch(void);