blob: 86559474da00f4f2b3cf9d9bf9ae8099269a739b [file] [log] [blame]
Aamir Bohra3c37b5a2018-06-29 22:33:25 +05301/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2018 Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include <baseboard/variants.h>
17#include <bootblock_common.h>
18#include <soc/gpio.h>
19#include <variant/gpio.h>
20
21void bootblock_mainboard_init(void)
22{
23 const struct pad_config *pads;
24 size_t num;
25
26 pads = variant_early_gpio_table(&num);
27 gpio_configure_pads(pads, num);
28}