coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#include <bootblock_common.h>
#include <cpu/x86/pae.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/p2sb.h>
#include <intelblocks/pcr.h>
#include <intelblocks/rtc.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/tco.h>
#include <intelblocks/uart.h>
#include <soc/iomap.h>
#include <soc/cpu.h>
#include <soc/gpio.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <spi-generic.h>
Include dependency graph for bootblock.c:

Go to the source code of this file.

Functions

static void tpm_enable (void)
 
asmlinkage void bootblock_c_entry (uint64_t base_timestamp)
 
static void enable_pmcbar (void)
 
void bootblock_soc_early_init (void)
 

Variables

static const struct pad_config tpm_spi_configs []
 

Function Documentation

◆ bootblock_c_entry()

◆ bootblock_soc_early_init()

◆ enable_pmcbar()

static void enable_pmcbar ( void  )
static

◆ tpm_enable()

static void tpm_enable ( void  )
static

Definition at line 34 of file bootblock.c.

References ARRAY_SIZE, gpio_configure_pads(), and tpm_spi_configs.

Referenced by bootblock_soc_early_init().

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

Variable Documentation

◆ tpm_spi_configs

const struct pad_config tpm_spi_configs[]
static
Initial value:
= {
PAD_CFG_NF(GPIO_106, NATIVE, DEEP, NF3),
}
#define GPIO_106
Definition: gpio.h:71
#define PAD_CFG_NF(pad, pull, rst, func)
Definition: gpio_defs.h:197

Definition at line 1 of file bootblock.c.

Referenced by tpm_enable().