coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
espi_util.c File Reference
#include <amdblocks/acpimmio.h>
#include <amdblocks/lpc.h>
#include <device/pci_ops.h>
#include <soc/espi.h>
#include <soc/lpc.h>
#include <soc/pci_devs.h>
#include <soc/southbridge.h>
#include <types.h>
Include dependency graph for espi_util.c:

Go to the source code of this file.

Functions

void espi_disable_lpc_ldrq (void)
 
void espi_switch_to_spi2_pads (void)
 

Function Documentation

◆ espi_disable_lpc_ldrq()

void espi_disable_lpc_ldrq ( void  )

Definition at line 12 of file espi_util.c.

References LPC_LDRQ0_EN, LPC_LDRQ0_PD_EN, LPC_LDRQ0_PU_EN, LPC_LDRQ1_EN, LPC_MISC_CONTROL_BITS, pci_read_config32(), pci_write_config32(), and SOC_LPC_DEV.

Referenced by bootblock_mainboard_early_init().

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

◆ espi_switch_to_spi2_pads()

void espi_switch_to_spi2_pads ( void  )

Definition at line 22 of file espi_util.c.

References PM_ACPI_CONF, PM_ACPI_S5_LPC_PIN_MODE, PM_ACPI_S5_LPC_PIN_MODE_SEL, PM_ESPI_CS_USE_DATA2, pm_read32(), PM_SPI_PAD_PU_PD, and pm_write32().

Referenced by bootblock_mainboard_early_init().

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