summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2021-10-18 21:07:20 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-08 16:05:46 +0000
commite96ade6981c60af4d6f24471d7f6a440ab7bfd4e (patch)
tree14f7bbca28618023cfa7696980cb51963572a416 /src/mainboard/starlabs/labtop/Kconfig
parent37afe1c10c45a497e7af029a8c97d72091556413 (diff)
mb/starlabs/labtop: Add LabTop Mk IV
Tested using MrChromeBox's `uefipayload_202107` branch: * Windows 10 * Ubuntu 20.04 * MX Linux 19.4 * Manjaro 21 No known issues. https://starlabs.systems/pages/labtop-mk-iv-specification Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Idbaa907dc38dc521961806132f21b7a90324ec9c Reviewed-on: https://review.coreboot.org/c/coreboot/+/58428 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/labtop/Kconfig')
-rw-r--r--src/mainboard/starlabs/labtop/Kconfig29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/mainboard/starlabs/labtop/Kconfig b/src/mainboard/starlabs/labtop/Kconfig
index 6fe3446e93..1700fb1410 100644
--- a/src/mainboard/starlabs/labtop/Kconfig
+++ b/src/mainboard/starlabs/labtop/Kconfig
@@ -13,6 +13,18 @@ config BOARD_STARLABS_LABTOP_SERIES
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
select SYSTEM_TYPE_LAPTOP
+config BOARD_STARLABS_LABTOP_CML
+ select BOARD_ROMSIZE_KB_16384
+ select BOARD_STARLABS_LABTOP_SERIES
+ select EC_STARLABS_NEED_ITE_BIN
+ select HAVE_INTEL_PTT
+ select HAVE_SPD_IN_CBFS
+ select MAINBOARD_HAS_CRB_TPM
+ select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_TPM2
+ select SOC_INTEL_COMETLAKE_1
+ select SPI_FLASH_WINBOND
+
config BOARD_STARLABS_STARBOOK_TGL
select BOARD_ROMSIZE_KB_16384
select BOARD_STARLABS_LABTOP_SERIES
@@ -53,7 +65,8 @@ config EC_STARLABS_ITE_BIN_PATH
default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/ec.bin"
config EC_VARIANT_DIR
- default "tgl" if !EC_STARLABS_MERLIN
+ default "cml" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_CML
+ default "tgl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_TGL
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
@@ -67,13 +80,16 @@ config MAINBOARD_DIR
config MAINBOARD_FAMILY
string
- default "B5"
+ default "L4" if BOARD_STARLABS_LABTOP_CML
+ default "B5" if BOARD_STARLABS_STARBOOK_TGL
config MAINBOARD_PART_NUMBER
- default "StarBook Mk V"
+ default "LabTop Mk IV" if BOARD_STARLABS_LABTOP_CML
+ default "StarBook Mk V" if BOARD_STARLABS_STARBOOK_TGL
config MAINBOARD_SMBIOS_PRODUCT_NAME
- default "StarBook"
+ default "StarBook" if BOARD_STARLABS_STARBOOK_TGL
+ default "LabTop"
config ME_BIN_PATH
string
@@ -87,9 +103,10 @@ config UART_FOR_CONSOLE
default 2
config USE_PM_ACPI_TIMER
- default n
+ default n if BOARD_STARLABS_STARBOOK_TGL
config VARIANT_DIR
- default "tgl"
+ default "cml" if BOARD_STARLABS_LABTOP_CML
+ default "tgl" if BOARD_STARLABS_STARBOOK_TGL
endif