summaryrefslogtreecommitdiff
path: root/src/mainboard/google/peppy/ec.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-09-23 16:38:27 -0500
committerAaron Durbin <adurbin@chromium.org>2016-09-26 23:53:12 +0200
commit91fa9d7696ef88e580caa1f762e72bd9e3e18a18 (patch)
tree6b671fd3d13743754ec0319f0d1dabc36cf7ba9f /src/mainboard/google/peppy/ec.h
parent59cf5028a85b2696ce2dc12b857c886cb05e9671 (diff)
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 <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16734 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/peppy/ec.h')
-rw-r--r--src/mainboard/google/peppy/ec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/peppy/ec.h b/src/mainboard/google/peppy/ec.h
index 89630b2660..22942eed15 100644
--- a/src/mainboard/google/peppy/ec.h
+++ b/src/mainboard/google/peppy/ec.h
@@ -16,6 +16,7 @@
#ifndef MAINBOARD_EC_H
#define MAINBOARD_EC_H
+#include <ec/ec.h>
#include <ec/google/chromeec/ec_commands.h>
#define EC_SCI_GPI 36 /* GPIO36 is EC_SCI# */
@@ -51,8 +52,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