coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
OemCustomize.c File Reference
#include <amdblocks/agesawrapper.h>
#include <variant/gpio.h>
#include <soc/amd/stoneyridge/chip.h>
#include <soc/pci_devs.h>
Include dependency graph for OemCustomize.c:

Go to the source code of this file.

Functions

VOID __weak OemCustomizeInitEarly (IN OUT AMD_EARLY_PARAMS *InitEarly)
 OemCustomizeInitEarly. More...
 

Variables

static const PCIe_PORT_DESCRIPTOR PortList []
 
static const PCIe_DDI_DESCRIPTOR DdiList []
 
static const PCIe_COMPLEX_DESCRIPTOR PcieComplex
 

Function Documentation

◆ OemCustomizeInitEarly()

VOID __weak OemCustomizeInitEarly ( IN OUT AMD_EARLY_PARAMS *  InitEarly)

OemCustomizeInitEarly.

Description: This is the stub function will call the host environment through the binary block interface (call-out port) to provide a user hook opportunity.

Parameters:

Parameters
[in]**PeiServices
[in]*InitEarly
Return values
VOID

Definition at line 135 of file OemCustomize.c.

References PcieComplex.

Variable Documentation

◆ DdiList

const PCIe_DDI_DESCRIPTOR DdiList[]
static
Initial value:
= {
{
0,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 8, 11),
},
{
0,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 12, 15),
},
{
DESCRIPTOR_TERMINATE_LIST,
PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 16, 19),
},
}

Definition at line 91 of file OemCustomize.c.

◆ PcieComplex

const PCIe_COMPLEX_DESCRIPTOR PcieComplex
static
Initial value:
= {
.Flags = DESCRIPTOR_TERMINATE_LIST,
.SocketId = 0,
.PciePortList = (void *)PortList,
.DdiLinkList = (void *)DdiList
}
static const PCIe_DDI_DESCRIPTOR DdiList[]
Definition: OemCustomize.c:91
static const PCIe_PORT_DESCRIPTOR PortList[]
Definition: OemCustomize.c:8

Definition at line 112 of file OemCustomize.c.

Referenced by OemCustomizeInitEarly().

◆ PortList

const PCIe_PORT_DESCRIPTOR PortList[]
static

Definition at line 8 of file OemCustomize.c.