## SPDX-License-Identifier: GPL-2.0-only

if BOARD_SYSTEM76_GALP2 || BOARD_SYSTEM76_GALP3 || BOARD_SYSTEM76_GALP3_B

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_8192
	select DRIVERS_GENERIC_CBFS_SERIAL
	select DRIVERS_GENERIC_CBFS_UUID
	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 MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM2
	select NO_UART_ON_SUPERIO
	select PCIEXP_HOTPLUG
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SOC_INTEL_KABYLAKE
	select SPD_READ_BY_WORD
	select SYSTEM_TYPE_LAPTOP
	select TPM_MEASURED_BOOT
	select TPM_RDRESP_NEED_DELAY

config DISABLE_HECI1_AT_PRE_BOOT
	default y

config MAINBOARD_DIR
	default "system76/kbl-u"

config VARIANT_DIR
	default "galp2" if BOARD_SYSTEM76_GALP2
	default "galp3" if BOARD_SYSTEM76_GALP3
	default "galp3-b" if BOARD_SYSTEM76_GALP3_B

config MAINBOARD_PART_NUMBER
	default "galp2" if BOARD_SYSTEM76_GALP2
	default "galp3" if BOARD_SYSTEM76_GALP3
	default "galp3-b" if BOARD_SYSTEM76_GALP3_B

config MAINBOARD_SMBIOS_PRODUCT_NAME
	default "Galago Pro"

config MAINBOARD_VERSION
	default "galp2" if BOARD_SYSTEM76_GALP2
	default "galp3" if BOARD_SYSTEM76_GALP3
	default "galp3-b" if BOARD_SYSTEM76_GALP3_B

config CBFS_SIZE
	default 0x600000

config CONSOLE_POST
	default y

config ONBOARD_VGA_IS_PRIMARY
	default y

config UART_FOR_CONSOLE
	default 2

config DIMM_MAX
	default 2

config DIMM_SPD_SIZE
	default 512

config POST_DEVICE
	default n

endif