From 91fa9d7696ef88e580caa1f762e72bd9e3e18a18 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 23 Sep 2016 16:38:27 -0500 Subject: mainboards,ec: provide common declaration for mainboard_ec_init() Add a header file to provide common declarations that the mainboards can use regarding EC init. BUG=chrome-os-partner:56677 Change-Id: Iaa0b37eff4de644e969a18364713b90b7f27fa1c Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/16734 Reviewed-by: Duncan Laurie Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/google/rambi/ec.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mainboard/google/rambi') diff --git a/src/mainboard/google/rambi/ec.h b/src/mainboard/google/rambi/ec.h index 391f2daf82..6340b698e9 100644 --- a/src/mainboard/google/rambi/ec.h +++ b/src/mainboard/google/rambi/ec.h @@ -16,6 +16,7 @@ #ifndef MAINBOARD_EC_H #define MAINBOARD_EC_H +#include #include /* GPIO_S0_000 is EC_SCI#, but it is bit 24 in GPE_STS */ @@ -56,8 +57,4 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_SHUTDOWN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN)) -#ifndef __ACPI__ -extern void mainboard_ec_init(void); -#endif - #endif -- cgit v1.2.3