From add740ac2857263769cfcfb72351b1cecc3f7cfd Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 28 May 2015 12:02:00 +0200 Subject: 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 Original-Commit-Id: d20a1d1a22d64546a5d8761b18ab29732ec0b848 Original-Change-Id: Ie8ac401fbaad5b5a9f1dec2b67847c81f4cc94aa Original-Signed-off-by: Patrick Georgi Original-Reviewed-on: https://chromium-review.googlesource.com/273850 Original-Reviewed-by: Stefan Reinauer Original-Tested-by: Patrick Georgi Original-Commit-Queue: Patrick Georgi Reviewed-on: http://review.coreboot.org/10692 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/link/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/link/Kconfig') diff --git a/src/mainboard/google/link/Kconfig b/src/mainboard/google/link/Kconfig index 0f709255d2..fd3390ad47 100644 --- a/src/mainboard/google/link/Kconfig +++ b/src/mainboard/google/link/Kconfig @@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select SERIRQ_CONTINUOUS_MODE select MAINBOARD_HAS_NATIVE_VGA_INIT select CHROMEOS_VBNV_CMOS + select LID_SWITCH config MAINBOARD_DIR string -- cgit v1.2.3