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-or-later */
2 
3 #include <baseboard/variants.h>
4 #include <bootblock_common.h>
5 
7 {
8  const struct pad_config *pads;
9  size_t num;
10 
11  pads = variant_early_gpio_table(&num);
12  gpio_configure_pads(pads, num);
13 }
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
const struct pad_config * variant_early_gpio_table(size_t *num)
Definition: gpio.c:204
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