From 6603c01dd3652295c576725c57f0039573bad204 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Wed, 20 Dec 2017 16:45:47 -0800 Subject: mainboard/google/zoombini: add gpio init to ramstage -add initialization of gpio table to mainboard_silicon_init_params() -fix input parameter type for mainboard_silicon_init_params() for FSP2_0. BUG=b:69011806 BRANCH=chromeos-2016.05 TEST=none Change-Id: If8cba786a127a8704eb240380841362e3eb06552 Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/23194 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/zoombini/ramstage.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/zoombini/ramstage.c b/src/mainboard/google/zoombini/ramstage.c index ffbf6fe987..7c73357430 100644 --- a/src/mainboard/google/zoombini/ramstage.c +++ b/src/mainboard/google/zoombini/ramstage.c @@ -13,10 +13,15 @@ * GNU General Public License for more details. */ +#include #include #include -void mainboard_silicon_init_params(FSP_SIL_UPD *params) +void mainboard_silicon_init_params(FSP_S_CONFIG *params) { - gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); + size_t num; + const struct pad_config *gpio_table; + + gpio_table = variant_gpio_table(&num); + gpio_configure_pads(gpio_table, num); } -- cgit v1.2.3