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_M []
 
static CONST PSO_ENTRY ROMDATA MemoryTable_M_LE []
 

Function Documentation

◆ board_BeforeInitEarly()

void board_BeforeInitEarly ( struct sysinfo cb,
AMD_EARLY_PARAMS *  InitEarly 
)

Definition at line 128 of file OemCustomize.c.

References PcieComplex.

◆ board_BeforeInitMid()

void board_BeforeInitMid ( struct sysinfo cb,
AMD_MID_PARAMS *  InitMid 
)

Definition at line 175 of file OemCustomize.c.

◆ board_BeforeInitPost()

void board_BeforeInitPost ( struct sysinfo cb,
AMD_POST_PARAMS *  InitPost 
)

Definition at line 167 of file OemCustomize.c.

References CONFIG, MemoryTable_M, and MemoryTable_M_LE.

◆ board_BeforeInitReset()

void board_BeforeInitReset ( struct sysinfo cb,
AMD_RESET_PARAMS *  Reset 
)

Definition at line 121 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 93 of file OemCustomize.c.

◆ MemoryTable_M

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

Definition at line 145 of file OemCustomize.c.

Referenced by board_BeforeInitPost().

◆ MemoryTable_M_LE

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

Definition at line 159 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:93
static const PCIe_PORT_DESCRIPTOR PortList[]
Definition: OemCustomize.c:54

Definition at line 114 of file OemCustomize.c.

Referenced by board_BeforeInitEarly().

◆ PortList

const PCIe_PORT_DESCRIPTOR PortList[]
static

Definition at line 54 of file OemCustomize.c.