From 1194aa8d08938411b3f13ba540dbba97ac58fa13 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sun, 21 May 2017 08:49:44 +0200 Subject: ec/lenovo/h8: Add BDC detection support * Add support for detecting BDC. * Allows to turn off power to BDC if no card is installed. * Should fix https://ticket.coreboot.org/issues/99 . Add the following devicetree values: * has_bdc_detection Set to one to indicate that the following register are sane. * bdc_gpio_num SB GPIO num to read. * bdc_gpio_lvl SB GPIO level for card to be present (usually zero). Don't enable BDC power if no card is detected. As there are no devicetree values yet, the new code doesn't have any effect. Change-Id: I506de2eca4b820e6d82de6b2c48a5440462e1db5 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/19809 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/ec/lenovo/h8/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/lenovo/h8/Makefile.inc') diff --git a/src/ec/lenovo/h8/Makefile.inc b/src/ec/lenovo/h8/Makefile.inc index c37a6e1bf7..18aca17fbf 100644 --- a/src/ec/lenovo/h8/Makefile.inc +++ b/src/ec/lenovo/h8/Makefile.inc @@ -6,6 +6,7 @@ ramstage-y += panic.c endif ramstage-y += h8.c +ramstage-y += bluetooth.c smm-y += smm.c endif -- cgit v1.2.3