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:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user