summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron@9elements.com>2024-03-04 11:59:53 -0500
committerFelix Held <felix-coreboot@felixheld.de>2024-04-07 11:36:25 +0000
commit8f14e8e6b25e04df5d5b03e38be54eda8eff1f81 (patch)
tree33d76ae8b3642d11e8deef9bfb2e60f34ca38cdc /src/soc
parent9b9a2c909e2f59087fe26d6255c06c0f83a26c1b (diff)
soc/amd/genoa_poc: Allow using UART with DEBUG_SMI=y
When DEBUG_SMI is selected, common code may use these helpers to handle addressing and initialising the SoC-specific UART. Therefore, add uart.c to be compiled into SMM. Change-Id: If7c6f2346d5f9ffb371d51d1de6f0b695acedf10 Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81072 Reviewed-by: Marvin Drees <marvin.drees@9elements.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/genoa_poc/Makefile.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/genoa_poc/Makefile.mk b/src/soc/amd/genoa_poc/Makefile.mk
index 01bbe7b8f9..94cee34960 100644
--- a/src/soc/amd/genoa_poc/Makefile.mk
+++ b/src/soc/amd/genoa_poc/Makefile.mk
@@ -22,6 +22,7 @@ ramstage-y += smihandler.c
ramstage-y += mca.c
smm-y += smihandler.c
+smm-$(CONFIG_DEBUG_SMI) += uart.c
CPPFLAGS_common += -I$(src)/soc/amd/genoa_poc/acpi
CPPFLAGS_common += -I$(src)/soc/amd/genoa_poc/include