summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/Kconfig
diff options
context:
space:
mode:
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