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 PlatformMemoryTable []
 

Function Documentation

◆ board_BeforeInitEarly()

void board_BeforeInitEarly ( struct sysinfo cb,
AMD_EARLY_PARAMS *  InitEarly 
)

Definition at line 168 of file OemCustomize.c.

References PcieComplex.

◆ board_BeforeInitMid()

void board_BeforeInitMid ( struct sysinfo cb,
AMD_MID_PARAMS *  InitMid 
)

Definition at line 201 of file OemCustomize.c.

◆ board_BeforeInitPost()

void board_BeforeInitPost ( struct sysinfo cb,
AMD_POST_PARAMS *  InitPost 
)

Definition at line 196 of file OemCustomize.c.

References PlatformMemoryTable.

◆ board_BeforeInitReset()

void board_BeforeInitReset ( struct sysinfo cb,
AMD_RESET_PARAMS *  Reset 
)

Definition at line 154 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),
},
{
DESCRIPTOR_TERMINATE_LIST,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 32, 35),
},
}

Definition at line 133 of file OemCustomize.c.

◆ 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:133
static const PCIe_PORT_DESCRIPTOR PortList[]
Definition: OemCustomize.c:55

Definition at line 161 of file OemCustomize.c.

Referenced by board_BeforeInitEarly().

◆ PlatformMemoryTable

CONST PSO_ENTRY ROMDATA PlatformMemoryTable[]
static
Initial value:
= {
NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, 1),
NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, 2),
MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
CKE_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x05, 0x0A),
ODT_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00),
CS_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
PSO_END
}

Definition at line 185 of file OemCustomize.c.

Referenced by board_BeforeInitPost().

◆ PortList

const PCIe_PORT_DESCRIPTOR PortList[]
static

Definition at line 55 of file OemCustomize.c.