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
static
void
mainboard_init
(
void
*chip_info)
7
{
8
gpio_configure_pads
(
gpio_table
,
ARRAY_SIZE
(
gpio_table
));
9
}
10
11
struct
chip_operations
mainboard_ops
= {
12
.
init
=
mainboard_init
,
13
};
ARRAY_SIZE
#define ARRAY_SIZE(a)
Definition:
helpers.h:12
gpio_table
static const struct pad_config gpio_table[]
Definition:
gpio.h:24
mainboard_ops
struct chip_operations mainboard_ops
Definition:
ramstage.c:11
mainboard_init
static void mainboard_init(void *chip_info)
Definition:
ramstage.c:6
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
chip_operations
Definition:
device.h:23
chip_operations::init
void(* init)(void *chip_info)
Definition:
device.h:25
src
mainboard
system76
galp5
ramstage.c
Generated by
1.9.1