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