summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/bootblock.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-09-02 17:25:35 -0500
committerAaron Durbin <adurbin@chromium.org>2016-09-06 20:04:27 +0200
commitb64389d8408b876914acee4ecdeb54929f2ae8ef (patch)
treedcf2af06862b90306843ffde9c7a07a4cd4432de /src/mainboard/google/reef/bootblock.c
parent10d67cbad5de7966de7f2f766eb44fb5d6f37272 (diff)
downloadcoreboot-b64389d8408b876914acee4ecdeb54929f2ae8ef.tar.xz
mainboard/google/reef: declare mainboard_ec_init() in each C file
There's no common EC header file in the code base, and I didn't want to use a header file for single declaration. Therefore, just move the declaration to each file that uses that symbol. BUG=chrome-os-partner:56677 Change-Id: Ibaebb0ea6a07029aec02d5185cf05ffb8593b117 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16420 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/bootblock.c')
-rw-r--r--src/mainboard/google/reef/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/bootblock.c b/src/mainboard/google/reef/bootblock.c
index ab010e2d39..da66009834 100644
--- a/src/mainboard/google/reef/bootblock.c
+++ b/src/mainboard/google/reef/bootblock.c
@@ -19,6 +19,8 @@
#include <soc/gpio.h>
#include <variant/ec.h>
+void mainboard_ec_init(void);
+
void bootblock_mainboard_init(void)
{
const struct pad_config *pads;