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 <
intelblocks/gpio.h
>
6
7
void
bootblock_mainboard_early_init
(
void
)
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
}
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
gpio.h
pad_config
Definition:
gpio.h:75
src
mainboard
siemens
mc_apl1
bootblock.c
Generated by
1.9.1