From 126362210621efc858b6e198280d2b563b4459a5 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 7 Nov 2022 22:04:52 +0000 Subject: mb/starlabs/*: Bind console serial output to EDK2_DEBUG Configure the UART port but only enable UART debug for EDK2 debug builds. Signed-off-by: Sean Rhodes Change-Id: I54e1dc5768fd765254c7ede91eaa45842fed3bd6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69322 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/lite/Kconfig | 4 ++++ src/mainboard/starlabs/starbook/Kconfig | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src/mainboard/starlabs') diff --git a/src/mainboard/starlabs/lite/Kconfig b/src/mainboard/starlabs/lite/Kconfig index df7e38c4ab..78c95e206e 100644 --- a/src/mainboard/starlabs/lite/Kconfig +++ b/src/mainboard/starlabs/lite/Kconfig @@ -8,6 +8,7 @@ config BOARD_STARLABS_LITE_SERIES select HAVE_OPTION_TABLE select HAVE_INTEL_PTT select INTEL_GMA_HAVE_VBT + select INTEL_LPSS_UART_FOR_CONSOLE select CRB_TPM select MAINBOARD_HAS_TPM2 select ONBOARD_VGA_IS_PRIMARY @@ -37,6 +38,9 @@ config CMOS_DEFAULT_FILE config CMOS_LAYOUT_FILE default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_LITE_GLKR +config CONSOLE_SERIAL + default n if !EDK2_DEBUG + config DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig index 0d06c061b6..b4cb209d91 100644 --- a/src/mainboard/starlabs/starbook/Kconfig +++ b/src/mainboard/starlabs/starbook/Kconfig @@ -8,6 +8,7 @@ config BOARD_STARLABS_STARBOOK_SERIES select HAVE_CMOS_DEFAULT select HAVE_OPTION_TABLE select INTEL_GMA_HAVE_VBT + select INTEL_LPSS_UART_FOR_CONSOLE select NO_UART_ON_SUPERIO select SOC_INTEL_COMMON_BLOCK_HDA_VERB select SYSTEM_TYPE_LAPTOP @@ -86,6 +87,9 @@ config CMOS_DEFAULT_FILE config CMOS_LAYOUT_FILE default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_STARBOOK_TGL +config CONSOLE_SERIAL + default n if !EDK2_DEBUG + config DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" -- cgit v1.2.3