summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starbook/Kconfig
diff options
context:
space:
mode:
authorBen-StarLabs <ben@starlabs.systems>2022-07-12 12:43:27 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-17 01:20:26 +0000
commitb2db3659a9b1d7b0a7d9e9ca228aa64bcf297922 (patch)
tree099c1cdbb4c1c2b2f690eccd9b0217453aa2c1fe /src/mainboard/starlabs/starbook/Kconfig
parent1c3da3f236c0aac1957a93882674a1f80d279f65 (diff)
mb/starlabs/starbook: Add Alder Lake StarBook Mk VI variant
Tested using `edk2` from `github.com/starlabsltd/edk2/tree/uefipayload_202209`: * Windows 10 * Ubuntu 20.04 * MX Linux 19.4 * Manjaro 21 No known issues. https://starlabs.systems/pages/starbook-specification Signed-off-by: Ben-StarLabs <ben@starlabs.systems> Change-Id: Idc0c265a88b19cf9e89cc8ab3e8db9abd8cf8409 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65785 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Diffstat (limited to 'src/mainboard/starlabs/starbook/Kconfig')
-rw-r--r--src/mainboard/starlabs/starbook/Kconfig37
1 files changed, 33 insertions, 4 deletions
diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig
index 0854c14bac..0d06c061b6 100644
--- a/src/mainboard/starlabs/starbook/Kconfig
+++ b/src/mainboard/starlabs/starbook/Kconfig
@@ -55,11 +55,29 @@ config BOARD_STARLABS_STARBOOK_TGL
select SPI_FLASH_WINBOND
select TPM_MEASURED_BOOT
+config BOARD_STARLABS_STARBOOK_ADL
+ select BOARD_ROMSIZE_KB_32768
+ select BOARD_STARLABS_STARBOOK_SERIES
+ select DRIVERS_INTEL_PMC
+ select EC_STARLABS_KBL_LEVELS
+ select EC_STARLABS_MAX_CHARGE
+ select EC_STARLABS_MIRROR_FLAG
+ select EC_STARLABS_NEED_ITE_BIN
+ select MEMORY_MAPPED_TPM
+ select MAINBOARD_HAS_TPM2
+ select SOC_INTEL_ALDERLAKE
+ select SOC_INTEL_ALDERLAKE_PCH_P
+ select SOC_INTEL_ALDERLAKE_S3
+ select SPI_FLASH_WINBOND
+ select TPM_MEASURED_BOOT
+ select PCIEXP_SUPPORT_RESIZABLE_BARS
+
if BOARD_STARLABS_STARBOOK_SERIES
config CCD_PORT
int
default 6 if BOARD_STARLABS_LABTOP_CML
+ default 4 if BOARD_STARLABS_STARBOOK_ADL
default 3
config CMOS_DEFAULT_FILE
@@ -72,13 +90,13 @@ config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
config DIMM_SPD_SIZE
- default 512 if BOARD_STARLABS_LABTOP_KBL
+ default 512
config DRIVER_TPM_SPI_CHIP
default 2
config EC_GPE_SCI
- default 0x6e if BOARD_STARLABS_STARBOOK_TGL
+ default 0x6e if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
default 0x50
config EC_STARLABS_ADD_ITE_BIN
@@ -93,6 +111,7 @@ config EC_VARIANT_DIR
default "kbl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_KBL
default "cml" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_CML
default "tgl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_TGL
+ default "adl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_ADL
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
@@ -109,14 +128,16 @@ config MAINBOARD_FAMILY
default "L3" if BOARD_STARLABS_LABTOP_KBL
default "L4" if BOARD_STARLABS_LABTOP_CML
default "B5" if BOARD_STARLABS_STARBOOK_TGL
+ default "B6-I" if BOARD_STARLABS_STARBOOK_ADL
config MAINBOARD_PART_NUMBER
default "LabTop Mk III" if BOARD_STARLABS_LABTOP_KBL
default "LabTop Mk IV" if BOARD_STARLABS_LABTOP_CML
default "StarBook Mk V" if BOARD_STARLABS_STARBOOK_TGL
+ default "StarBook Mk VI" if BOARD_STARLABS_STARBOOK_ADL
config MAINBOARD_SMBIOS_PRODUCT_NAME
- default "StarBook" if BOARD_STARLABS_STARBOOK_TGL
+ default "StarBook" if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
default "LabTop"
config ME_BIN_PATH
@@ -127,15 +148,23 @@ config EDK2_BOOTSPLASH_FILE
string
default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
+config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
+ default 32
+
+config SOC_INTEL_CSE_SEND_EOP_EARLY
+ default n if BOARD_STARLABS_STARBOOK_ADL
+
config UART_FOR_CONSOLE
+ default 0 if BOARD_STARLABS_STARBOOK_ADL
default 2
config USE_PM_ACPI_TIMER
- default n if BOARD_STARLABS_STARBOOK_TGL
+ default n if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
config VARIANT_DIR
default "kbl" if BOARD_STARLABS_LABTOP_KBL
default "cml" if BOARD_STARLABS_LABTOP_CML
default "tgl" if BOARD_STARLABS_STARBOOK_TGL
+ default "adl" if BOARD_STARLABS_STARBOOK_ADL
endif