7 #include <PlatformMemoryConfiguration.h>
54 static const PCIe_PORT_DESCRIPTOR
PortList[] = {
58 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 8, 23),
59 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 2,
68 PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 16, 23),
69 PCIE_PORT_DATA_INITIALIZER(PortDisabled, ChannelTypeExt6db, 3,
79 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 4, 4),
80 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 4,
90 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 5, 5),
91 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 5,
101 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 6, 6),
102 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 6,
112 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 7, 7),
113 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 7,
122 DESCRIPTOR_TERMINATE_LIST,
123 PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 0, 3),
124 PCIE_PORT_DATA_INITIALIZER(PortEnabled, ChannelTypeExt6db, 8,
132 static const PCIe_DDI_DESCRIPTOR
DdiList[] = {
136 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 24, 27),
137 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux1, Hdp1)
142 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 28, 31),
143 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeNutmegDpToVga, Aux2, Hdp2)
147 DESCRIPTOR_TERMINATE_LIST,
148 PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 32, 35),
149 PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux3, Hdp3)
154 .Flags = DESCRIPTOR_TERMINATE_LIST,
162 FCH_RESET_INTERFACE *FchReset = &Reset->FchInterface;
163 FchReset->Xhci0Enable =
CONFIG(HUDSON_XHCI_ENABLE);
164 FchReset->Xhci1Enable = FALSE;
169 InitEarly->GnbConfig.PcieComplexList = &
PcieComplex;
185 NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, 1),
186 NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, 2),
187 MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
188 CKE_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x05, 0x0A),
189 ODT_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00),
190 CS_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
203 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[]