coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
OemCustomize.c File Reference
#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.

Macros

#define WLSEED   0x08
 
#define RXSEED   0x40
 

Functions

void board_BeforeInitEarly (struct sysinfo *cb, AMD_EARLY_PARAMS *InitEarly)
 
void board_BeforeInitPost (struct sysinfo *cb, AMD_POST_PARAMS *InitPost)
 

Variables

static const PCIe_PORT_DESCRIPTOR PortList []
 
static const PCIe_COMPLEX_DESCRIPTOR PcieComplex
 
static CONST PSO_ENTRY ROMDATA PlatformMemoryTable []
 

Macro Definition Documentation

◆ RXSEED

#define RXSEED   0x40

◆ WLSEED

#define WLSEED   0x08

Function Documentation

◆ board_BeforeInitEarly()

void board_BeforeInitEarly ( struct sysinfo cb,
AMD_EARLY_PARAMS *  InitEarly 
)

Definition at line 67 of file OemCustomize.c.

References PcieComplex.

◆ board_BeforeInitPost()

void board_BeforeInitPost ( struct sysinfo cb,
AMD_POST_PARAMS *  InitPost 
)

Definition at line 101 of file OemCustomize.c.

References PlatformMemoryTable.

Variable Documentation

◆ PcieComplex

const PCIe_COMPLEX_DESCRIPTOR PcieComplex
static
Initial value:
= {
.Flags = DESCRIPTOR_TERMINATE_LIST,
.SocketId = 0,
.PciePortList = PortList,
.DdiLinkList = NULL,
}
static const PCIe_PORT_DESCRIPTOR PortList[]
Definition: OemCustomize.c:7
#define NULL
Definition: stddef.h:19

Definition at line 60 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, TWO_DIMM),
NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, ONE_DIMM),
MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#define WLSEED
#define RXSEED
WRITE_LEVELING_SEED(ANY_SOCKET, ANY_CHANNEL, WLSEED, WLSEED, WLSEED, WLSEED, WLSEED, WLSEED, WLSEED, WLSEED, WLSEED),
HW_RXEN_SEED(ANY_SOCKET, ANY_CHANNEL, RXSEED, RXSEED, RXSEED, RXSEED, RXSEED, RXSEED, RXSEED, RXSEED, RXSEED),
PSO_END
}
#define WLSEED
#define RXSEED

Definition at line 84 of file OemCustomize.c.

Referenced by board_BeforeInitPost().

◆ PortList

const PCIe_PORT_DESCRIPTOR PortList[]
static

Definition at line 7 of file OemCustomize.c.