summaryrefslogtreecommitdiff
path: root/src/mainboard/google/samus
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-05-28 12:02:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-06-30 08:10:19 +0200
commitadd740ac2857263769cfcfb72351b1cecc3f7cfd (patch)
tree7ff41ea047de0c9def5f04b251f88378a8265e3e /src/mainboard/google/samus
parent08b8785aebdc81f89e335e46d1913f119a490f9c (diff)
Add Kconfig flag to specify if there's a lid switch
Not all devices have a lid switch, so we need to state this somehow. Since the alternative would be to extend get_lid_switch()'s semantics to become a tri-state (open, closed, N/A), do this through Kconfig. BRANCH=none BUG=chromium:446945 TEST=none Change-Id: Icc50f72535f256051a59925a178fb27b2e8f7e55 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: d20a1d1a22d64546a5d8761b18ab29732ec0b848 Original-Change-Id: Ie8ac401fbaad5b5a9f1dec2b67847c81f4cc94aa Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/273850 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/10692 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/samus')
-rw-r--r--src/mainboard/google/samus/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/samus/Kconfig b/src/mainboard/google/samus/Kconfig
index 68d622d282..0b4d74d0ad 100644
--- a/src/mainboard/google/samus/Kconfig
+++ b/src/mainboard/google/samus/Kconfig
@@ -19,6 +19,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CHROMEOS_RAMOOPS_DYNAMIC
select INTEL_INT15
select CHROMEOS_VBNV_CMOS
+ select LID_SWITCH
config MAINBOARD_DIR
string