summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2021-07-05 16:03:15 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-22 14:53:04 +0000
commit17441a3ac5a114fc8386e8da50ef802e159c97b7 (patch)
tree0ef9df707f826c2b901bd2ee14aa81ba30d45a9e /src/mainboard/starlabs/labtop/Kconfig
parentbe0722ac9145ac0203aca26165cbc9ee46b2b1b7 (diff)
mainboard/starlabs: Add StarBook Mk V
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/starbook-specification Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I090971a9e8d2be5b08be886d00d304607304b645 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56088 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/Kconfig92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/Kconfig b/src/mainboard/starlabs/labtop/Kconfig
new file mode 100644
index 0000000000..9d74d2b934
--- /dev/null
+++ b/src/mainboard/starlabs/labtop/Kconfig
@@ -0,0 +1,92 @@
+config BOARD_STARLABS_LABTOP_SERIES
+ def_bool n
+ select DRIVERS_I2C_HID
+ select EC_STARLABS_ITE
+ select EC_STARLABS_FAN
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ 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
+
+config BOARD_STARLABS_STARBOOK_TGL
+ select BOARD_ROMSIZE_KB_16384
+ select BOARD_STARLABS_LABTOP_SERIES
+ select DRIVERS_INTEL_USB4_RETIMER
+ select EC_STARLABS_KBL_LEVELS
+ select EC_STARLABS_FAN
+ select EC_STARLABS_NEED_ITE_BIN
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM2
+ select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
+ select SOC_INTEL_COMMON_BLOCK_TCSS
+ select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+ select SOC_INTEL_TIGERLAKE
+ select SOC_INTEL_TIGERLAKE_S3
+ select SPI_FLASH_WINBOND
+
+if BOARD_STARLABS_LABTOP_SERIES
+
+config DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
+config DIMM_SPD_SIZE
+ default 512
+
+config DRIVER_TPM_SPI_CHIP
+ default 2
+
+config EC_STARLABS_ADD_ITE_BIN
+ default y
+
+config EC_STARLABS_ITE_BIN_PATH
+ string
+ depends on EC_STARLABS_NEED_ITE_BIN
+ default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/ec.bin"
+
+config EC_VARIANT_DIR
+ default "tgl" if !EC_STARLABS_MERLIN
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
+
+config IFD_BIN_PATH
+ string
+ default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/flashdescriptor.bin"
+
+config MAINBOARD_DIR
+ default "starlabs/labtop"
+
+config MAINBOARD_FAMILY
+ string
+ default "B5"
+
+config MAINBOARD_PART_NUMBER
+ default "StarBook Mk V"
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "StarBook"
+
+config ME_BIN_PATH
+ string
+ default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin"
+
+config TIANOCORE_BOOTSPLASH_FILE
+ string
+ depends on TIANOCORE_BOOTSPLASH_IMAGE
+ default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
+
+config UART_FOR_CONSOLE
+ default 2
+
+config USE_PM_ACPI_TIMER
+ default n
+
+config VARIANT_DIR
+ default "tgl"
+
+endif