4 #include <PlatformMemoryConfiguration.h>
8 static const PCIe_PORT_DESCRIPTOR
PortList[] = {
11 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 3, 3),
12 PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db, 2, 5,
16 AspmDisabled, 0x01, 0)
21 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 2, 2),
22 PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db, 2, 4,
26 AspmDisabled, 0x02, 0)
31 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 1, 1),
32 PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db, 2, 3,
36 AspmDisabled, 0x03, 0)
41 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 0, 0),
42 PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db, 2, 2,
46 AspmDisabled, 0x04, 0)
50 DESCRIPTOR_TERMINATE_LIST,
51 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 4, 7),
52 PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db, 2, 1,
56 AspmDisabled, 0x05, 0)
60 static const PCIe_DDI_DESCRIPTOR
DdiList[] = {
64 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 8, 11),
65 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux1, Hdp1)
70 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 12, 15),
71 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux2, Hdp2)
75 DESCRIPTOR_TERMINATE_LIST,
76 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 16, 19),
77 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeCrt, Aux3, Hdp3)
82 .Flags = DESCRIPTOR_TERMINATE_LIST,
90 FCH_RESET_INTERFACE *FchReset = &Reset->FchInterface;
91 FchReset->Xhci0Enable =
CONFIG(HUDSON_XHCI_ENABLE);
92 FchReset->Xhci1Enable = FALSE;
97 InitEarly->GnbConfig.PcieComplexList = &
PcieComplex;
118 NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, 2),
119 NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, 1),
120 MOTHER_BOARD_LAYERS(LAYERS_4),
122 MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x04, 0x08, 0x00, 0x00, 0x00, 0x00),
123 CKE_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x04, 0x08),
124 ODT_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x04, 0x08),
125 CS_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x04, 0x08, 0x00, 0x00, 0x00, 0x00),
138 InitMid->GnbMidConfiguration.iGpuVgaMode = 0;
void board_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *InitEarly)
void board_BeforeInitPost(struct sysinfo *cb, AMD_POST_PARAMS *InitPost)
void board_BeforeInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset)
void board_BeforeInitMid(struct sysinfo *cb, AMD_MID_PARAMS *InitMid)
static const PCIe_COMPLEX_DESCRIPTOR PcieComplex
static const PCIe_DDI_DESCRIPTOR DdiList[]
static CONST PSO_ENTRY ROMDATA PlatformMemoryTable[]
static const PCIe_PORT_DESCRIPTOR PortList[]