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
6
void
bootblock_mainboard_early_init
(
void
)
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
}
bootblock_common.h
bootblock_mainboard_early_init
__weak void bootblock_mainboard_early_init(void)
Definition:
bootblock.c:16
variant_early_gpio_table
const struct pad_config * variant_early_gpio_table(size_t *num)
Definition:
gpio.c:204
gpio_configure_pads
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
pad_config
Definition:
gpio.h:75
src
mainboard
google
volteer
bootblock.c
Generated by
1.9.1