summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2024-10-29 14:30:06 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2024-11-17 10:35:08 +0000
commit50905e7cdc9f0030cdeec6ab0eb70128bacc15e0 (patch)
treeb8eda88073a695ea94695b20cad1d71dc85ae163
parentdf7561552f09c01b739ad65b490c4d7039cb7b6a (diff)
mb/ocp/tiogapass: Fix build failure
Add console.c to SMM stage as well. Fixes the build failure: "undefined reference to `get_uart_baudrate'" when CONFIG_DEBUG_SMI is set. Change-Id: I2587287b0074a56c49b7434553c69cae97aaa1b4 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85135 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alicja Michalska <ahplka19@gmail.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
-rw-r--r--src/mainboard/ocp/tiogapass/Makefile.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/ocp/tiogapass/Makefile.mk b/src/mainboard/ocp/tiogapass/Makefile.mk
index bcf0e6c00f..268518ae39 100644
--- a/src/mainboard/ocp/tiogapass/Makefile.mk
+++ b/src/mainboard/ocp/tiogapass/Makefile.mk
@@ -5,5 +5,6 @@ romstage-y += ipmi.c
ramstage-y += ramstage.c ipmi.c
all-y += console.c
+smm-y += console.c
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include