coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <bootblock_common.h>
4 #include <soc/gpio.h>
5 #include <soc/southbridge.h>
6 
7 #include "../gpio.h"
8 
10 {
11  size_t num_gpios;
12  const struct soc_amd_gpio *gpios;
13  gpios = early_gpio_table(&num_gpios);
14  gpio_configure_pads(gpios, num_gpios);
15 }
static const struct pad_config early_gpio_table[]
Definition: gpio_early.c:7
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
void gpio_configure_pads(const struct soc_amd_gpio *gpio_list_ptr, size_t size)
program a particular set of GPIO
Definition: gpio.c:307