summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2018-10-20 17:10:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-08 10:26:35 +0000
commit2dc00fab7c46369bffdedf3afea2af720e4add80 (patch)
tree1a45c0849578404e4a9d9e8665e2ca62f5163b38 /src/ec/lenovo/h8/Makefile.inc
parent1d3b3c3c0955a652a1b602c5fd86dc6c5890e967 (diff)
ec/lenovo/h8: Add function to query sense state
* Add function to wait for sense registers to become valid. * Add function to retrieve Fn-Key state. Tested on Lenovo T500: * It takes about 700msec for the registers to become valid. Tested on Lenovo T520: * It takes less than 150msec for the registers to become valid. Change-Id: Ie27e2881a256c4efb3def11f05070c446db6e5fc Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29204 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/ec/lenovo/h8/Makefile.inc')
-rw-r--r--src/ec/lenovo/h8/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/Makefile.inc b/src/ec/lenovo/h8/Makefile.inc
index ebf6d7d7a4..bccdd91b7d 100644
--- a/src/ec/lenovo/h8/Makefile.inc
+++ b/src/ec/lenovo/h8/Makefile.inc
@@ -1,5 +1,12 @@
ifeq ($(CONFIG_EC_LENOVO_H8),y)
+ramstage-y += sense.c
+verstage-y += sense.c
+romstage-y += sense.c
+bootblock-y += sense.c
+postcar-y += sense.c
+smm-y += sense.c
+
ifneq ($(filter y,$(CONFIG_H8_BEEP_ON_DEATH) $(CONFIG_H8_FLASH_LEDS_ON_DEATH)),)
romstage-y += panic.c
ramstage-y += panic.c