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 <nvaccaro@chromium.org>
Reviewed-on: https://review.coreboot.org/23194
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Nick Vaccaro 2017-12-20 16:45:47 -08:00 committed by Stefan Reinauer
parent a9569cea61
commit 6603c01dd3
1 changed files with 7 additions and 2 deletions

View File

@ -13,10 +13,15 @@
* GNU General Public License for more details.
*/
#include <baseboard/variants.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>
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);
}