From 50905e7cdc9f0030cdeec6ab0eb70128bacc15e0 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 29 Oct 2024 14:30:06 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85135 Tested-by: build bot (Jenkins) Reviewed-by: Alicja Michalska Reviewed-by: Lean Sheng Tan --- src/mainboard/ocp/tiogapass/Makefile.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3