Add the missing Kconfig dependency on PCIE_PORT to avoid the following runtime error:
Type 'aspeed.pcie-root-port' is missing its parent 'pcie-root-port-base' No need to have ASPEED_SOC select PCI_EXPRESS since it is already selected by PCI_EXPRESS_ASPEED. Cc: [email protected] Fixes: 2af56518fa9 ("hw/pci-host/aspeed: Add AST2600 PCIe Root Port and make address configurable") Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- hw/arm/Kconfig | 1 - hw/pci-host/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 82e0bc2e700..00e2d938033 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -557,7 +557,6 @@ config ASPEED_SOC select MAX31785 select FSI_APB2OPB_ASPEED select AT24C - select PCI_EXPRESS select PCI_EXPRESS_ASPEED config MPS2 diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index 8cbb8304a3f..bda6e161f1c 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -49,6 +49,7 @@ config PCI_I440FX config PCI_EXPRESS_ASPEED bool select PCI_EXPRESS + select PCIE_PORT config PCI_EXPRESS_Q35 bool -- 2.53.0
