soc/qualcomm/calypso: Enable basic PCIe support

This commit introduces initial support for PCI Express on the
Qualcomm Calypso SoC.

Key changes include:
- Selecting `CONFIG_PCI` in Kconfig to enable general PCI subsystem
  support for this SoC.
- Selecting `CONFIG_NO_ECAM_MMCONF_SUPPORT`, indicating that this
  platform will not use the standard MMCONFIG ECAM for PCI
  configuration space access. An alternative mechanism will be required.
- Adding `../common/pcie_common.c` to the ramstage build if `CONFIG_PCI`
  is enabled, incorporating common PCIe helper functions.

BUG=b:496650089
TEST=Able to build google/calypso.

Change-Id: I813e0811e9fd5b6ceefbf72635998a26536987c8
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91907
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Subrata Banik 2026-03-28 07:29:01 +00:00
commit 30b8524ff5
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,8 @@ config SOC_QUALCOMM_CALYPSO_BASE
select HAVE_UART_SPECIAL
select MAINBOARD_FORCE_NATIVE_VGA_INIT
select MAINBOARD_HAS_NATIVE_VGA_INIT
select NO_ECAM_MMCONF_SUPPORT
select PCI
select SOC_QUALCOMM_COMMON
select SOC_QUALCOMM_QCLIB_SKIP_MMU_TOGGLE

View file

@ -40,6 +40,7 @@ ramstage-y += soc.c
ramstage-y += cbmem.c
ramstage-y += ../common/mmu.c
ramstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
ramstage-$(CONFIG_PCI) += ../common/pcie_common.c
ramstage-y += cpucp_load_reset.c
################################################################################