coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.h File Reference
#include <fsp/romstage.h>
#include <fsp/util.h>
#include <soc/pm.h>
Include dependency graph for romstage.h:

Go to the source code of this file.

Macros

#define MEM_DDR3   0
 
#define MEM_LPDDR3   1
 

Functions

void gfx_init (void)
 
void punit_init (void)
 
int chipset_prev_sleep_state (const struct chipset_power_state *ps)
 

Macro Definition Documentation

◆ MEM_DDR3

#define MEM_DDR3   0

Definition at line 17 of file romstage.h.

◆ MEM_LPDDR3

#define MEM_LPDDR3   1

Definition at line 18 of file romstage.h.

Function Documentation

◆ chipset_prev_sleep_state()

int chipset_prev_sleep_state ( const struct chipset_power_state ps)

Definition at line 60 of file romstage.c.

References ACPI_BASE_ADDRESS, ACPI_S0, ACPI_S3, ACPI_S5, CONFIG, chipset_power_state::gen_pmcon1, outl(), PM1_CNT, chipset_power_state::pm1_cnt, chipset_power_state::pm1_sts, prev_sleep_state(), PWR_FLR, SLP_TYP, SUS_PWR_FLR, and WAK_STS.

Referenced by fill_power_state().

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

◆ gfx_init()

void gfx_init ( void  )

Definition at line 8 of file gfx.c.

◆ punit_init()

void punit_init ( void  )

Definition at line 17 of file pmc.c.