From 68975b15cf51902d8dbd5b868b23011c9ee58ac9 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 15 May 2020 18:12:35 +0200 Subject: [PATCH] soc/amd/picasso: only link soc_util in ramstage No code that was or will be upstreamed uses functionality from soc_util in romstage, so only compile and link it for ramstage. This also allows to fix the SoC type detection in a follow-up patch using information that FPS-M will be providing in a HOB. BUG=b:153779573 Change-Id: If96e53608eadd562f6de5a0c370b89e84e43d049 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/41430 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Aaron Durbin --- src/soc/amd/picasso/Makefile.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc index e015fbe057..a82a227c15 100644 --- a/src/soc/amd/picasso/Makefile.inc +++ b/src/soc/amd/picasso/Makefile.inc @@ -29,7 +29,6 @@ romstage-$(CONFIG_PICASSO_UART) += uart.c romstage-y += tsc_freq.c romstage-y += southbridge.c romstage-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c -romstage-y += soc_util.c romstage-y += psp.c romstage-y += mtrr.c romstage-y += config.c