From 9506aea3511d626da936df0cee431b6dcabb8734 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 24 Jul 2015 13:06:12 -0500 Subject: glados: move to native gpio configuration Instead of relying on FSP to do gpio configuration in one place use the native support in coreboot. This also removes the open coded configuration of the memory configuration ids. BUG=chrome-os-partner:42982 BRANCH=None TEST=Built and booted glados. Original-Change-Id: I4655221d821d91a2270d774305a02d6bd5c3959c Original-Signed-off-by: Aaron Durbin Original-Reviewed-on: https://chromium-review.googlesource.com/289800 Original-Reviewed-by: Duncan Laurie Change-Id: I2e66242d050c3825f6bc65d3d2c7f51d2cdfbd73 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/11175 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/glados/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/glados/mainboard.c') diff --git a/src/mainboard/google/glados/mainboard.c b/src/mainboard/google/glados/mainboard.c index 26b622ab1e..61a548578f 100644 --- a/src/mainboard/google/glados/mainboard.c +++ b/src/mainboard/google/glados/mainboard.c @@ -20,10 +20,14 @@ */ #include +#include #include "ec.h" +#include "gpio.h" static void mainboard_init(device_t dev) { + gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); + if (IS_ENABLED(CONFIG_GOOGLE_CHROME_EC)) mainboard_ec_init(); } -- cgit v1.2.3