From 0f79a92bb68c0f8d289364361cf2b835b062743e Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Thu, 11 Oct 2018 15:15:02 +0200 Subject: mb/lenovo/*/smihandler: Remove some unused includes Tried to build all affected mainboards - still compiles fine. Change-Id: I385cac1a75cee13453b831bd75b3ecc7a6d229fa Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/29033 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel --- src/mainboard/lenovo/t420s/smihandler.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/mainboard/lenovo/t420s') diff --git a/src/mainboard/lenovo/t420s/smihandler.c b/src/mainboard/lenovo/t420s/smihandler.c index c34cb5b313..578aee8bfa 100644 --- a/src/mainboard/lenovo/t420s/smihandler.c +++ b/src/mainboard/lenovo/t420s/smihandler.c @@ -20,13 +20,8 @@ #include #include #include -#include -#include -#include -#include #include -#include -#include +#include #define GPE_EC_SCI 1 #define GPE_EC_WAKE 13 @@ -111,7 +106,7 @@ void mainboard_smi_sleep(u8 slp_typ) if (slp_typ == 3) { u8 ec_wake = ec_read(0x32); - /* If EC wake events are enabled, enable wake on EC WAKE GPE. */ + /* If EC wake events are enabled, enable wake on EC WAKE GPE. */ if (ec_wake & 0x14) { /* Redirect EC WAKE GPE to SCI. */ gpi_route_interrupt(GPE_EC_WAKE, GPI_IS_SCI); -- cgit v1.2.3