coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <soc/ramstage.h>
4
#include "
gpio.h
"
5
6
void
mainboard_silicon_init_params
(FSPS_UPD *supd)
7
{
8
/* Configure pads prior to SiliconInit() in case there's any
9
* dependencies during hardware initialization. */
10
gpio_configure_pads
(
gpio_table
,
ARRAY_SIZE
(
gpio_table
));
11
}
ARRAY_SIZE
#define ARRAY_SIZE(a)
Definition:
helpers.h:12
mainboard_silicon_init_params
__weak void mainboard_silicon_init_params(SILICON_INIT_UPD *params)
Definition:
ramstage.c:162
gpio_table
static const struct pad_config gpio_table[]
Definition:
gpio.h:24
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
src
mainboard
system76
lemp9
ramstage.c
Generated by
1.9.1