Turn on CONFIG_PCIE_DW_AMD in the amd_versal_premium_2 fragment so it
is scoped to Premium Gen 2 hardware.

Explicitly disable CONFIG_PCIE_AMD_CPM and CONFIG_PCIE_AMD_QDMA_PL,
the legacy PCIe controller drivers already enabled in
xilinx_versal_virt_defconfig, since Premium Gen 2 uses PCIE_DW_AMD
instead.

Signed-off-by: Pranav Sanwal <[email protected]>
---
 configs/amd_versal_premium_2.config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/amd_versal_premium_2.config 
b/configs/amd_versal_premium_2.config
index 26c5cfa536c..1e43c0ba6b1 100644
--- a/configs/amd_versal_premium_2.config
+++ b/configs/amd_versal_premium_2.config
@@ -1,3 +1,7 @@
 CONFIG_SYS_PROMPT="versalpremium2> "
 CONFIG_TEXT_BASE=0x40000000
+CONFIG_PCI=y
+CONFIG_PCIE_DW_AMD=y
+# CONFIG_PCIE_AMD_CPM is not set
+# CONFIG_PCIE_AMD_QDMA_PL is not set
 CONFIG_XILINX_OF_BOARD_DTB_ADDR=0x1000000
-- 
2.43.7

Reply via email to