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