aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-29 14:23:35 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-31 13:37:07 +0000
commit8706d7022c283b72b21862e8d37ae0dac0bdae51 (patch)
tree143839edeaf09486f6d64ff9413261e2b37e0947 /src
parent2755539e11171ecd595366a5115452b48f4a7794 (diff)
soc/amd/phoenix/chip: make FSP-S call conditional
Only call amd_fsp_silicon_init if PLATFORM_USES_FSP2_0 is selected in Kconfig. I'm not 100% sure about the data_fabric_set_mmio_np call yet, but since it doesn't depend on PLATFORM_USES_FSP2_0 to compile, I'll look into that one later. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I2666f1ac0f0354146ffe005b3ce99484defda7a8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80242 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/phoenix/chip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/phoenix/chip.c b/src/soc/amd/phoenix/chip.c
index 72652bac60..2291945e65 100644
--- a/src/soc/amd/phoenix/chip.c
+++ b/src/soc/amd/phoenix/chip.c
@@ -39,7 +39,8 @@ static void soc_init(void *chip_info)
{
default_dev_ops_root.write_acpi_tables = soc_acpi_write_tables;
- amd_fsp_silicon_init();
+ if (CONFIG(PLATFORM_USES_FSP2_0))
+ amd_fsp_silicon_init();
data_fabric_set_mmio_np();