summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-05-28 11:59:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-06-30 08:10:11 +0200
commit08b8785aebdc81f89e335e46d1913f119a490f9c (patch)
tree240906fb52161c4c8b4fd85c9f3a4c896ad8c9ea /src/include
parentf7a5b56297f0d06fe4312d6c1f12823852a95e6b (diff)
downloadcoreboot-08b8785aebdc81f89e335e46d1913f119a490f9c.tar.xz
Expose get_lid_switch() in romstage
The function was used locally and in ramstage to set some coreboot tables. It's also needed in romstage to deal with "lid closed" behaviour. BRANCH=none BUG=chromium:446945 TEST=none Change-Id: I8ad7061328c45803699321aa9f5edb0ed2288a8d Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 78281a104fb9d79696a6ceb2a9a89a391146a424 Original-Change-Id: I56314b9dc9062dd61671982e7ec0ff15d7eb1bae Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/273609 Original-Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Original-Tested-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Queue: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10691 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.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 da4e070607..ff562d5069 100644
--- a/src/include/bootmode.h
+++ b/src/include/bootmode.h
@@ -27,6 +27,7 @@ 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 get_lid_switch(void);
int gfx_get_init_done(void);