Attention is currently required from: Fred Reitberger, Jason Glenesk, Martin L Roth, Matt DeVillier, Varshit Pandya.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83445?usp=email )
Change subject: soc/amd: add SoC-specific root_complex.c to SMM ......................................................................
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.
Change-Id: I4e32084b45f07131c80b642bc73d865fc57688a8 --- M src/soc/amd/cezanne/Makefile.mk M src/soc/amd/genoa_poc/Makefile.mk M src/soc/amd/glinda/Makefile.mk M src/soc/amd/mendocino/Makefile.mk M src/soc/amd/phoenix/Makefile.mk M src/soc/amd/picasso/Makefile.mk 6 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/83445/1
diff --git a/src/soc/amd/cezanne/Makefile.mk b/src/soc/amd/cezanne/Makefile.mk index 73be4aa..d4c7595 100644 --- a/src/soc/amd/cezanne/Makefile.mk +++ b/src/soc/amd/cezanne/Makefile.mk @@ -30,6 +30,7 @@ ramstage-y += xhci.c
smm-y += gpio.c +smm-y += root_complex.c smm-y += smihandler.c smm-$(CONFIG_DEBUG_SMI) += uart.c
diff --git a/src/soc/amd/genoa_poc/Makefile.mk b/src/soc/amd/genoa_poc/Makefile.mk index 94cee34..bde8b18 100644 --- a/src/soc/amd/genoa_poc/Makefile.mk +++ b/src/soc/amd/genoa_poc/Makefile.mk @@ -21,6 +21,7 @@ ramstage-y += smihandler.c ramstage-y += mca.c
+smm-y += root_complex.c smm-y += smihandler.c smm-$(CONFIG_DEBUG_SMI) += uart.c
diff --git a/src/soc/amd/glinda/Makefile.mk b/src/soc/amd/glinda/Makefile.mk index 1211c45..b3c5b82 100644 --- a/src/soc/amd/glinda/Makefile.mk +++ b/src/soc/amd/glinda/Makefile.mk @@ -34,6 +34,7 @@ ramstage-y += xhci.c
smm-y += gpio.c +smm-y += root_complex.c smm-y += smihandler.c smm-$(CONFIG_DEBUG_SMI) += uart.c
diff --git a/src/soc/amd/mendocino/Makefile.mk b/src/soc/amd/mendocino/Makefile.mk index 1b96ff1..59db564 100644 --- a/src/soc/amd/mendocino/Makefile.mk +++ b/src/soc/amd/mendocino/Makefile.mk @@ -33,6 +33,7 @@ ramstage-y += manifest.c
smm-y += gpio.c +smm-y += root_complex.c smm-y += smihandler.c smm-$(CONFIG_DEBUG_SMI) += uart.c
diff --git a/src/soc/amd/phoenix/Makefile.mk b/src/soc/amd/phoenix/Makefile.mk index 03edd43..7e3982d 100644 --- a/src/soc/amd/phoenix/Makefile.mk +++ b/src/soc/amd/phoenix/Makefile.mk @@ -38,6 +38,7 @@ ramstage-y += xhci.c
smm-y += gpio.c +smm-y += root_complex.c smm-y += smihandler.c smm-$(CONFIG_DEBUG_SMI) += uart.c
diff --git a/src/soc/amd/picasso/Makefile.mk b/src/soc/amd/picasso/Makefile.mk index 3fcd47f..b65d1c8 100644 --- a/src/soc/amd/picasso/Makefile.mk +++ b/src/soc/amd/picasso/Makefile.mk @@ -38,6 +38,7 @@ 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