diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-07-13 02:56:28 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-25 22:55:27 +0000 |
commit | ebf90e3a8823781cab7b24dbaf41a783c31f4b38 (patch) | |
tree | 7bde015e152d2bbd9e6d922749b1078ce4a96239 /src/soc/amd | |
parent | e9e71132a308acbe5c6d5371fbe5f7d6ffe30cf4 (diff) |
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>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/cezanne/Makefile.mk | 1 | ||||
-rw-r--r-- | src/soc/amd/genoa_poc/Makefile.mk | 1 | ||||
-rw-r--r-- | src/soc/amd/glinda/Makefile.mk | 1 | ||||
-rw-r--r-- | src/soc/amd/mendocino/Makefile.mk | 1 | ||||
-rw-r--r-- | src/soc/amd/phoenix/Makefile.mk | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/Makefile.mk | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/Makefile.mk b/src/soc/amd/cezanne/Makefile.mk index 73be4aacb0..d4c7595f7f 100644 --- a/src/soc/amd/cezanne/Makefile.mk +++ b/src/soc/amd/cezanne/Makefile.mk @@ -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 diff --git a/src/soc/amd/genoa_poc/Makefile.mk b/src/soc/amd/genoa_poc/Makefile.mk index 94cee34960..bde8b1843f 100644 --- a/src/soc/amd/genoa_poc/Makefile.mk +++ b/src/soc/amd/genoa_poc/Makefile.mk @@ -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 diff --git a/src/soc/amd/glinda/Makefile.mk b/src/soc/amd/glinda/Makefile.mk index 1211c45f27..b3c5b82517 100644 --- a/src/soc/amd/glinda/Makefile.mk +++ b/src/soc/amd/glinda/Makefile.mk @@ -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 diff --git a/src/soc/amd/mendocino/Makefile.mk b/src/soc/amd/mendocino/Makefile.mk index 1b96ff124c..59db564b59 100644 --- a/src/soc/amd/mendocino/Makefile.mk +++ b/src/soc/amd/mendocino/Makefile.mk @@ -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 diff --git a/src/soc/amd/phoenix/Makefile.mk b/src/soc/amd/phoenix/Makefile.mk index 03edd43db5..7e3982dcd1 100644 --- a/src/soc/amd/phoenix/Makefile.mk +++ b/src/soc/amd/phoenix/Makefile.mk @@ -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 diff --git a/src/soc/amd/picasso/Makefile.mk b/src/soc/amd/picasso/Makefile.mk index 3fcd47f825..b65d1c8651 100644 --- a/src/soc/amd/picasso/Makefile.mk +++ b/src/soc/amd/picasso/Makefile.mk @@ -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 |