coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
OemCustomize.c File Reference
#include <Porting.h>
#include <AGESA.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <PlatformMemoryConfiguration.h>
Include dependency graph for OemCustomize.c:

Go to the source code of this file.

Functions

void board_BeforeInitReset (struct sysinfo *cb, AMD_RESET_PARAMS *Reset)
 
void board_BeforeInitEarly (struct sysinfo *cb, AMD_EARLY_PARAMS *InitEarly)
 
void board_BeforeInitPost (struct sysinfo *cb, AMD_POST_PARAMS *InitPost)
 
void board_BeforeInitMid (struct sysinfo *cb, AMD_MID_PARAMS *InitMid)
 

Variables

static const PCIe_PORT_DESCRIPTOR PortList []
 
static const PCIe_DDI_DESCRIPTOR DdiList []
 
static const PCIe_COMPLEX_DESCRIPTOR PcieComplex
 
static CONST PSO_ENTRY ROMDATA MemoryTable_XM_E []
 

Function Documentation

◆ board_BeforeInitEarly()

void board_BeforeInitEarly ( struct sysinfo cb,
AMD_EARLY_PARAMS *  InitEarly 
)

Definition at line 127 of file OemCustomize.c.

References PcieComplex.

◆ board_BeforeInitMid()

void board_BeforeInitMid ( struct sysinfo cb,
AMD_MID_PARAMS *  InitMid 
)

Definition at line 154 of file OemCustomize.c.

◆ board_BeforeInitPost()

void board_BeforeInitPost ( struct sysinfo cb,
AMD_POST_PARAMS *  InitPost 
)

Definition at line 149 of file OemCustomize.c.

References MemoryTable_XM_E.

◆ board_BeforeInitReset()

void board_BeforeInitReset ( struct sysinfo cb,
AMD_RESET_PARAMS *  Reset 
)

Definition at line 120 of file OemCustomize.c.

References CONFIG.

Variable Documentation

◆ DdiList

const PCIe_DDI_DESCRIPTOR DdiList[]
static
Initial value:
= {
{
0,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 24, 27),
},
{
0,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 28, 31),
},
{
0,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 32, 35),
},
}

Definition at line 92 of file OemCustomize.c.

◆ MemoryTable_XM_E

CONST PSO_ENTRY ROMDATA MemoryTable_XM_E[]
static
Initial value:
= {
NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, 1),
NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, 2),
PSO_END
}

Definition at line 141 of file OemCustomize.c.

Referenced by board_BeforeInitPost().

◆ PcieComplex

const PCIe_COMPLEX_DESCRIPTOR PcieComplex
static
Initial value:
= {
.Flags = DESCRIPTOR_TERMINATE_LIST,
.SocketId = 0,
.PciePortList = PortList,
.DdiLinkList = DdiList,
}
static const PCIe_DDI_DESCRIPTOR DdiList[]
Definition: OemCustomize.c:92
static const PCIe_PORT_DESCRIPTOR PortList[]
Definition: OemCustomize.c:54

Definition at line 113 of file OemCustomize.c.

Referenced by board_BeforeInitEarly().

◆ PortList

const PCIe_PORT_DESCRIPTOR PortList[]
static

Definition at line 54 of file OemCustomize.c.