Skip to content

Commit 9e88227

Browse files
committed
Merge branch 'benesd_thunderfjord_5x16' into 'devel'
feat(cards - fb2cdg1): enable build for pcie gen5x16 See merge request ndk/ndk-fpga!306
2 parents 12999cb + 80ea585 commit 9e88227

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cards/silicom/fb2cdg1/config/card_const.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ set QSFP_I2C_ADDR(1) "0xA0"
3434
# ------------------------------------------------------------------------------
3535

3636
if {!(($PCIE_ENDPOINTS == 1 && $PCIE_GEN == 4 && $PCIE_ENDPOINT_MODE == 0) ||
37+
($PCIE_ENDPOINTS == 1 && $PCIE_GEN == 5 && $PCIE_ENDPOINT_MODE == 0) ||
3738
($PCIE_ENDPOINTS == 2 && $PCIE_GEN == 5 && $PCIE_ENDPOINT_MODE == 1) )} {
3839
error "Incompatible PCIe configuration: PCIE_ENDPOINTS = $PCIE_ENDPOINTS, PCIE_GEN = $PCIE_GEN, PCIE_ENDPOINT_MODE = $PCIE_ENDPOINT_MODE!
3940
Allowed PCIe configurations:
4041
- 1xGen4x16 -- PCIE_GEN=4, PCIE_ENDPOINTS=1, PCIE_ENDPOINT_MODE=0 (for DMA Calypte only)
42+
- 1xGen5x16 -- PCIE_GEN=5, PCIE_ENDPOINTS=1, PCIE_ENDPOINT_MODE=0 (for DMA Medusa only)
4143
- 1xGen5x8x8 -- PCIE_GEN=5, PCIE_ENDPOINTS=2, PCIE_ENDPOINT_MODE=1 (for DMA Medusa only)"
4244
}
4345

0 commit comments

Comments
 (0)