summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-11-07 22:04:52 +0000
committerMartin L Roth <gaumless@gmail.com>2022-12-22 19:07:40 +0000
commit126362210621efc858b6e198280d2b563b4459a5 (patch)
treeb8120a0cf83cf3e37f3e35cd6503b5cf2b50a2ce /src/mainboard/starlabs/lite
parent8ab5e15aca785111979c06beae0a1d3d6ce21b50 (diff)
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 <sean@starlabs.systems> Change-Id: I54e1dc5768fd765254c7ede91eaa45842fed3bd6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69322 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/lite')
-rw-r--r--src/mainboard/starlabs/lite/Kconfig4
1 files changed, 4 insertions, 0 deletions
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"