summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/mainboard.c
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/reef/mainboard.c
parent59cf5028a85b2696ce2dc12b857c886cb05e9671 (diff)
downloadcoreboot-91fa9d7696ef88e580caa1f762e72bd9e3e18a18.tar.xz
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/reef/mainboard.c')
-rw-r--r--src/mainboard/google/reef/mainboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/reef/mainboard.c b/src/mainboard/google/reef/mainboard.c
index 016c9ac3c9..3f23a77847 100644
--- a/src/mainboard/google/reef/mainboard.c
+++ b/src/mainboard/google/reef/mainboard.c
@@ -18,6 +18,7 @@
#include <boardid.h>
#include <console/console.h>
#include <device/device.h>
+#include <ec/ec.h>
#include <nhlt.h>
#include <soc/gpio.h>
#include <soc/nhlt.h>
@@ -25,8 +26,6 @@
#include <variant/ec.h>
#include <variant/gpio.h>
-void mainboard_ec_init(void);
-
static void mainboard_init(void *chip_info)
{
int boardid;