mainboard/bap/ode_e20XX: Change PCIe lines
This patch binds PCIe lanes 2 and 3 to one PCIe device. PCIe device 2.4 becomes x2. Tested with the connected FPGA on PCIe 2.4. FPGA doubles transfer rate from/to the AMD. Payload SeaBIOS 1.9.1 stable, Lubuntu 16.04, Kernel 4.4.0 Change-Id: Icee567272312a7df4c3b5a6db5b420a054ec3230 Signed-off-by: Fabian Kunkel <fabi@adv.bruhnspace.com> Reviewed-on: https://review.coreboot.org/15905 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
449fb9b6eb
commit
1f9c07fcd7
|
@ -25,26 +25,17 @@
|
||||||
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
|
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
|
||||||
|
|
||||||
static const PCIe_PORT_DESCRIPTOR PortList [] = {
|
static const PCIe_PORT_DESCRIPTOR PortList [] = {
|
||||||
|
/* Initialize Port descriptor (PCIe port, Lanes 2-3, PCI Device Number 2, Function 4) */
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 3, 3),
|
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 2, 3),
|
||||||
PCIE_PORT_DATA_INITIALIZER_V2 (PortEnabled, ChannelTypeExt6db, 2, 5,
|
|
||||||
HotplugBasic,
|
|
||||||
PcieGenMaxSupported,
|
|
||||||
PcieGenMaxSupported,
|
|
||||||
AspmDisabled, 0x01, 0)
|
|
||||||
},
|
|
||||||
/* Initialize Port descriptor (PCIe port, Lanes 1, PCI Device Number 2, ...) */
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 2, 2),
|
|
||||||
PCIE_PORT_DATA_INITIALIZER_V2 (PortEnabled, ChannelTypeExt6db, 2, 4,
|
PCIE_PORT_DATA_INITIALIZER_V2 (PortEnabled, ChannelTypeExt6db, 2, 4,
|
||||||
HotplugBasic,
|
HotplugBasic,
|
||||||
PcieGenMaxSupported,
|
PcieGenMaxSupported,
|
||||||
PcieGenMaxSupported,
|
PcieGenMaxSupported,
|
||||||
AspmDisabled, 0x02, 0)
|
AspmDisabled, 0x02, 0)
|
||||||
},
|
},
|
||||||
/* Initialize Port descriptor (PCIe port, Lanes 2, PCI Device Number 2, ...) */
|
/* Initialize Port descriptor (PCIe port, Lane 1, PCI Device Number 2, Function 3) */
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 1, 1),
|
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 1, 1),
|
||||||
|
@ -54,7 +45,7 @@ static const PCIe_PORT_DESCRIPTOR PortList [] = {
|
||||||
PcieGenMaxSupported,
|
PcieGenMaxSupported,
|
||||||
AspmDisabled, 0x03, 0)
|
AspmDisabled, 0x03, 0)
|
||||||
},
|
},
|
||||||
/* Initialize Port descriptor (PCIe port, Lanes 3, PCI Device Number 2, ...) */
|
/* Initialize Port descriptor (PCIe port, Lane 0, PCI Device Number 2, Function 2) */
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 0, 0),
|
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 0, 0),
|
||||||
|
@ -64,7 +55,7 @@ static const PCIe_PORT_DESCRIPTOR PortList [] = {
|
||||||
PcieGenMaxSupported,
|
PcieGenMaxSupported,
|
||||||
AspmDisabled, 0x04, 0)
|
AspmDisabled, 0x04, 0)
|
||||||
},
|
},
|
||||||
/* Initialize Port descriptor (PCIe port, Lanes 4-7, PCI Device Number 4, ...) */
|
/* Initialize Port descriptor (PCIe port, Lanes 4-7, PCI Device Number 2, Function 1) */
|
||||||
{
|
{
|
||||||
DESCRIPTOR_TERMINATE_LIST,
|
DESCRIPTOR_TERMINATE_LIST,
|
||||||
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 4, 7),
|
PCIE_ENGINE_DATA_INITIALIZER (PciePortEngine, 4, 7),
|
||||||
|
|
|
@ -31,8 +31,7 @@ chip northbridge/amd/agesa/family16kb/root_complex
|
||||||
device pci 2.1 on end # x4 PCIe Slot
|
device pci 2.1 on end # x4 PCIe Slot
|
||||||
device pci 2.2 on end # PCIe Q7 Realtek GBit LAN
|
device pci 2.2 on end # PCIe Q7 Realtek GBit LAN
|
||||||
device pci 2.3 on end # PCIe CB Realtek GBit LAN
|
device pci 2.3 on end # PCIe CB Realtek GBit LAN
|
||||||
device pci 2.4 on end # PCIe BAP FPGA
|
device pci 2.4 on end # x2 PCIe Microsemi FPGA
|
||||||
device pci 2.5 on end # PCIe BAP FPGA (unused, for 050T)
|
|
||||||
end #chip northbridge/amd/agesa/family16kb
|
end #chip northbridge/amd/agesa/family16kb
|
||||||
|
|
||||||
chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
|
chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
|
||||||
|
|
Loading…
Reference in New Issue