Enable the max charge feature for cml, as the EC supports it since Star Labs EC firmware 1.06. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I779a686960b63025fb5f40e826ed117f402a0b2a Reviewed-on: https://review.coreboot.org/c/coreboot/+/64093 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
111 lines
2.8 KiB
Plaintext
111 lines
2.8 KiB
Plaintext
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_LABTOP_CML
|
|
select BOARD_ROMSIZE_KB_16384
|
|
select BOARD_STARLABS_LABTOP_SERIES
|
|
select EC_STARLABS_MAX_CHARGE
|
|
select EC_STARLABS_NEED_ITE_BIN
|
|
select HAVE_INTEL_PTT
|
|
select HAVE_SPD_IN_CBFS
|
|
select 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
|
|
select DRIVERS_INTEL_USB4_RETIMER
|
|
select EC_STARLABS_KBL_LEVELS
|
|
select EC_STARLABS_MAX_CHARGE
|
|
select EC_STARLABS_NEED_ITE_BIN
|
|
select MEMORY_MAPPED_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 DRIVER_TPM_SPI_CHIP
|
|
default 2
|
|
|
|
config EC_GPE_SCI
|
|
default 0x6e if BOARD_STARLABS_STARBOOK_TGL
|
|
default 0x50
|
|
|
|
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 "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"
|
|
|
|
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 "L4" if BOARD_STARLABS_LABTOP_CML
|
|
default "B5" if BOARD_STARLABS_STARBOOK_TGL
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
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" if BOARD_STARLABS_STARBOOK_TGL
|
|
default "LabTop"
|
|
|
|
config ME_BIN_PATH
|
|
string
|
|
default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin"
|
|
|
|
config TIANOCORE_BOOTSPLASH_FILE
|
|
string
|
|
default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
|
|
|
|
config UART_FOR_CONSOLE
|
|
default 2
|
|
|
|
config USE_PM_ACPI_TIMER
|
|
default n if BOARD_STARLABS_STARBOOK_TGL
|
|
|
|
config VARIANT_DIR
|
|
default "cml" if BOARD_STARLABS_LABTOP_CML
|
|
default "tgl" if BOARD_STARLABS_STARBOOK_TGL
|
|
|
|
endif
|