aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix/Makefile.inc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-02-06 19:56:35 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-08 15:50:46 +0000
commit8f705b9fad1f59ea370bf55c8b3b901dd89357ed (patch)
tree0e542c0253ecf6fa98fd92c0276d63e78582718b /src/soc/amd/phoenix/Makefile.inc
parentb6969db5c2313b60dcfe0c318c06e5b97780e880 (diff)
soc/amd/phoenix/soc_util: add get_soc_type
Implement a get_soc_type function to determine if the silicon the code is running on is Phoenix or Phoenix 2. This will for example be needed to provide the correct DXIO descriptor table for the SoC. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I5f2b668b83432426b04e7f1354b694ddd6c300d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72861 Reviewed-by: ritul guru <ritul.bits@gmail.com> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/phoenix/Makefile.inc')
-rw-r--r--src/soc/amd/phoenix/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/phoenix/Makefile.inc b/src/soc/amd/phoenix/Makefile.inc
index 84825d0aa0..de465a2523 100644
--- a/src/soc/amd/phoenix/Makefile.inc
+++ b/src/soc/amd/phoenix/Makefile.inc
@@ -26,6 +26,7 @@ romstage-y += fsp_m_params.c
romstage-y += gpio.c
romstage-y += i2c.c
romstage-y += romstage.c
+romstage-y += soc_util.c
romstage-y += uart.c
ramstage-y += acpi.c
@@ -38,6 +39,7 @@ ramstage-y += gpio.c
ramstage-y += i2c.c
ramstage-y += mca.c
ramstage-y += root_complex.c
+ramstage-y += soc_util.c
ramstage-y += uart.c
ramstage-y += xhci.c