From db0946239fc5e7267c8cee7867ce85cbc5d313b4 Mon Sep 17 00:00:00 2001 From: Johnny Lin Date: Fri, 30 Oct 2020 08:50:03 +0800 Subject: mb/ocp/deltalake: Set SMM console log level via VPD Select DEBUG_SMI and RUNTIME_CONFIGURABLE_SMM_LOGLEVEL. Tested=On OCP Delta Lake, SMM log level can be changed via VPD variable. Change-Id: I73afc944fbd6c21e884397f3049bd363e2c1ce2c Signed-off-by: Johnny Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/47006 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Zhang --- src/mainboard/ocp/deltalake/Kconfig | 4 ++++ src/mainboard/ocp/deltalake/Makefile.inc | 1 + 2 files changed, 5 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/ocp/deltalake/Kconfig b/src/mainboard/ocp/deltalake/Kconfig index 6abffd4e69..191d89c83b 100644 --- a/src/mainboard/ocp/deltalake/Kconfig +++ b/src/mainboard/ocp/deltalake/Kconfig @@ -17,6 +17,7 @@ config BOARD_SPECIFIC_OPTIONS select MEMORY_MAPPED_TPM select MAINBOARD_HAS_TPM2 select UART_OVERRIDE_BAUDRATE + select RUNTIME_CONFIGURABLE_SMM_LOGLEVEL config UART_FOR_CONSOLE int @@ -57,4 +58,7 @@ config CONSOLE_POST bool default y +config DEBUG_SMI + default y + endif # BOARD_OCP_DELTALAKE diff --git a/src/mainboard/ocp/deltalake/Makefile.inc b/src/mainboard/ocp/deltalake/Makefile.inc index 1b05344abf..a6b6d37b66 100644 --- a/src/mainboard/ocp/deltalake/Makefile.inc +++ b/src/mainboard/ocp/deltalake/Makefile.inc @@ -8,4 +8,5 @@ romstage-$(CONFIG_IPMI_KCS_ROMSTAGE) += ipmi.c ramstage-y += ramstage.c ipmi.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c all-y += console.c +smm-y += console.c CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include -- cgit v1.2.3