coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_fch.c File Reference
#include <amdblocks/acpimmio.h>
#include <amdblocks/espi.h>
#include <amdblocks/i2c.h>
#include <amdblocks/lpc.h>
#include <amdblocks/pmlib.h>
#include <amdblocks/smbus.h>
#include <amdblocks/spi.h>
#include <soc/i2c.h>
#include <soc/southbridge.h>
#include <soc/uart.h>
#include <types.h>
#include "chip.h"
Include dependency graph for early_fch.c:

Go to the source code of this file.

Functions

static void lpc_configure_decodes (void)
 
static void reset_i2c_peripherals (void)
 
void fch_pre_init (void)
 
void fch_early_init (void)
 

Variables

static const struct soc_i2c_scl_pin i2c_scl_pins []
 

Function Documentation

◆ fch_early_init()

void fch_early_init ( void  )

Definition at line 80 of file early_fch.c.

References CONFIG, fch_print_pmxc0_status(), i2c_soc_early_init(), lpc_disable_spi_rom_sharing(), pm_set_power_failure_state(), and show_spi_speeds_and_modes().

Here is the call graph for this function:

◆ fch_pre_init()

◆ lpc_configure_decodes()

static void lpc_configure_decodes ( void  )
static

Definition at line 24 of file early_fch.c.

References CONFIG, and lpc_enable_port80().

Referenced by fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset_i2c_peripherals()

static void reset_i2c_peripherals ( void  )
static

Variable Documentation

◆ i2c_scl_pins

const struct soc_i2c_scl_pin i2c_scl_pins[]
static
Initial value:
= {
}
#define GPIO_I2C2_SCL
Definition: i2c.h:11
#define GPIO_I2C3_SCL
Definition: i2c.h:12
#define I2C2_SCL_PIN
Definition: i2c.h:18
#define I2C3_SCL_PIN
Definition: i2c.h:19
#define I2C_RESET_SCL_PIN(pin_name, pin_mask_value)
Definition: i2c.h:39

Definition at line 1 of file early_fch.c.

Referenced by reset_i2c_peripherals().