summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/bootblock.c3
-rw-r--r--src/mainboard/google/reef/ec.c3
-rw-r--r--src/mainboard/google/reef/mainboard.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/mainboard/google/reef/bootblock.c b/src/mainboard/google/reef/bootblock.c
index da66009834..57d20d9058 100644
--- a/src/mainboard/google/reef/bootblock.c
+++ b/src/mainboard/google/reef/bootblock.c
@@ -15,12 +15,11 @@
#include <baseboard/variants.h>
#include <bootblock_common.h>
+#include <ec/ec.h>
#include <soc/lpc.h>
#include <soc/gpio.h>
#include <variant/ec.h>
-void mainboard_ec_init(void);
-
void bootblock_mainboard_init(void)
{
const struct pad_config *pads;
diff --git a/src/mainboard/google/reef/ec.c b/src/mainboard/google/reef/ec.c
index e1832fdbaf..646216b8e3 100644
--- a/src/mainboard/google/reef/ec.c
+++ b/src/mainboard/google/reef/ec.c
@@ -15,13 +15,12 @@
#include <arch/acpi.h>
#include <console/console.h>
+#include <ec/ec.h>
#include <ec/google/chromeec/ec.h>
#include <rules.h>
#include <soc/lpc.h>
#include <variant/ec.h>
-void mainboard_ec_init(void);
-
static void ramstage_ec_init(void)
{
printk(BIOS_ERR, "mainboard: EC init\n");
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;