soc/amd: add SoC-specific root_complex.c to SMM

The PSP code introduced in a following patch needs both SoC-specific
functions get_iohc_info and get_iohc_non_pci_mmio_regs to also be
available in SMM, so add those compilation units to the corresponding
target.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4e32084b45f07131c80b642bc73d865fc57688a8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83445
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
This commit is contained in:
Felix Held
2024-07-13 02:56:28 +02:00
parent e9e71132a3
commit ebf90e3a88
6 changed files with 6 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ ramstage-y += root_complex.c
ramstage-y += xhci.c
smm-y += gpio.c
smm-y += root_complex.c
smm-y += smihandler.c
smm-$(CONFIG_DEBUG_SMI) += uart.c

View File

@@ -21,6 +21,7 @@ ramstage-y += root_complex.c
ramstage-y += smihandler.c
ramstage-y += mca.c
smm-y += root_complex.c
smm-y += smihandler.c
smm-$(CONFIG_DEBUG_SMI) += uart.c

View File

@@ -34,6 +34,7 @@ ramstage-y += root_complex.c
ramstage-y += xhci.c
smm-y += gpio.c
smm-y += root_complex.c
smm-y += smihandler.c
smm-$(CONFIG_DEBUG_SMI) += uart.c

View File

@@ -33,6 +33,7 @@ ramstage-y += xhci.c
ramstage-y += manifest.c
smm-y += gpio.c
smm-y += root_complex.c
smm-y += smihandler.c
smm-$(CONFIG_DEBUG_SMI) += uart.c

View File

@@ -38,6 +38,7 @@ ramstage-y += soc_util.c
ramstage-y += xhci.c
smm-y += gpio.c
smm-y += root_complex.c
smm-y += smihandler.c
smm-$(CONFIG_DEBUG_SMI) += uart.c

View File

@@ -38,6 +38,7 @@ ifeq ($(CONFIG_DEBUG_SMI),y)
smm-y += uart.c
endif
smm-y += gpio.c
smm-y += root_complex.c
CPPFLAGS_common += -I$(src)/soc/amd/picasso/include
CPPFLAGS_common += -I$(src)/soc/amd/picasso/acpi