coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cpucp.h File Reference
#include <soc/addressmap.h>
Include dependency graph for cpucp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  epsstop_epss_top
 
struct  epssfast_epss_fast
 

Functions

void cpucp_fw_load_reset (void)
 
void cpucp_prepare (void)
 

Variables

static struct epsstop_epss_top *const epss_top = (void *)EPSSTOP_EPSS_TOP
 
static struct epssfast_epss_fast *const epss_fast = (void *)EPSSFAST_BASE_ADDR
 

Function Documentation

◆ cpucp_fw_load_reset()

void cpucp_fw_load_reset ( void  )

Definition at line 23 of file cpucp_load_reset.c.

References BIOS_DEBUG, cpucp_prepare(), die(), printk, PROG_INIT, PROG_PAYLOAD, and selfload().

Referenced by soc_init().

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

◆ cpucp_prepare()

void cpucp_prepare ( void  )

Definition at line 12 of file cpucp_load_reset.c.

References epsstop_epss_top::access_override, BIOS_ERR, epss_fast, epssfast_epss_fast::epss_muc_clk_ctrl, epss_top, printk, read32(), setbits32, and wait_ms.

Referenced by cpucp_fw_load_reset().

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

Variable Documentation

◆ epss_fast

struct epssfast_epss_fast* const epss_fast = (void *)EPSSFAST_BASE_ADDR
static

Definition at line 40 of file cpucp.h.

Referenced by cpucp_prepare().

◆ epss_top

struct epsstop_epss_top* const epss_top = (void *)EPSSTOP_EPSS_TOP
static

Definition at line 39 of file cpucp.h.

Referenced by cpucp_prepare().