![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootstate.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>
Go to the source code of this file.
Functions | |
void | mainboard_silicon_init_params (FSP_SIL_UPD *params) |
static void | ioexpander_init (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_POST_DEVICE, BS_ON_EXIT, ioexpander_init, NULL) | |
BOOT_STATE_INIT_ENTRY | ( | BS_POST_DEVICE | , |
BS_ON_EXIT | , | ||
ioexpander_init | , | ||
NULL | |||
) |
Definition at line 17 of file ramstage.c.
References BIOS_DEBUG, CONFIG, i2c_writeb(), IO_EXPANDER_0_ADDR, IO_EXPANDER_1_ADDR, IO_EXPANDER_BUS, IO_EXPANDER_P0CONF, IO_EXPANDER_P0DOUT, IO_EXPANDER_P1CONF, IO_EXPANDER_P1DOUT, IO_EXPANDER_P2CONF, IO_EXPANDER_P2DOUT, and printk.
void mainboard_silicon_init_params | ( | FSP_SIL_UPD * | params | ) |
Definition at line 9 of file ramstage.c.
References ARRAY_SIZE, gpio_configure_pads(), gpio_table, and params.