coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <soc/ramstage.h>
4 #include "gpio.h"
5 
7 {
8  /* Configure pads prior to SiliconInit() in case there's any
9  * dependencies during hardware initialization. */
11 }
12 
13 static void mainboard_enable(struct device *dev)
14 {
15  /* Route 0x4e/4f to LPC */
17 }
18 
21 };
void mainboard_silicon_init_params(FSP_SIL_UPD *params)
Definition: mainboard.c:6
struct chip_operations mainboard_ops
Definition: mainboard.c:19
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:13
static struct sdram_info params
Definition: sdram_configs.c:83
#define ARRAY_SIZE(a)
Definition: helpers.h:12
#define LPC_IOE_EC_4E_4F
Definition: lpc_lib.h:16
uint16_t lpc_enable_fixed_io_ranges(uint16_t io_enables)
Definition: lpc_lib.c:21
static const struct pad_config gpio_table[]
Definition: gpio.h:24
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
#define FSP_SIL_UPD
Definition: ramstage.h:12
void(* enable_dev)(struct device *dev)
Definition: device.h:24
Definition: device.h:107