aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru/mainboard.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-05-22 15:53:37 -0700
committerMartin Roth <martinroth@google.com>2016-06-08 23:19:32 +0200
commit993dbe1fc8d533b152737be72c2f95357464f35c (patch)
tree32bd77e0802348c09073a034b24961be03a97e81 /src/mainboard/google/gru/mainboard.c
parent37fcd58ba6980222a5b51ea21ee266e5d34c04a2 (diff)
gru: kevin: define GPIOs used on both platforms
The same GPIOs are used on both platforms, definitions are added an a new .h to make it easier to re-use them across the code. BRANCH=none BUG=chrome-os-partner:51537 TEST=panel backlight still enabled on Gru as before. The rest of the GPIOs are used in the upcoming patches. Change-Id: If06f4b33720ab4bf098d23fb91322bba23fe6e90 Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: c587880 Original-Change-Id: I1a6c5b5beb82ffcc5fea397e8e9ec2f183f4a7e0 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/346219 Original-Tested-by: Shunqian Zheng <zhengsq@rock-chips.com> Reviewed-on: https://review.coreboot.org/15029 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/gru/mainboard.c')
-rw-r--r--src/mainboard/google/gru/mainboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c
index 0ccedd327e..54443bc9ff 100644
--- a/src/mainboard/google/gru/mainboard.c
+++ b/src/mainboard/google/gru/mainboard.c
@@ -25,6 +25,8 @@
#include <soc/grf.h>
#include <soc/i2c.h>
+#include "board.h"
+
static void configure_emmc(void)
{
/* Host controller does not support programmable clock generator.