if BOARD_SYSTEM76_DARP7 || BOARD_SYSTEM76_GALP5 || BOARD_SYSTEM76_LEMP10

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_I2C_HID
	select DRIVERS_INTEL_PMC
	select DRIVERS_INTEL_USB4_RETIMER
	select EC_SYSTEM76_EC
	select EC_SYSTEM76_EC_COLOR_KEYBOARD if BOARD_SYSTEM76_DARP7
	select EC_SYSTEM76_EC_DGPU if BOARD_SYSTEM76_GALP5
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select HAVE_SPD_IN_CBFS if BOARD_SYSTEM76_LEMP10
	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 PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
	select SOC_INTEL_TIGERLAKE
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SPD_READ_BY_WORD
	select SYSTEM_TYPE_LAPTOP
	select TPM_MEASURED_BOOT
	select TPM_RDRESP_NEED_DELAY

config MAINBOARD_DIR
	default "system76/tgl-u"

config VARIANT_DIR
	default "darp7" if BOARD_SYSTEM76_DARP7
	default "galp5" if BOARD_SYSTEM76_GALP5
	default "lemp10" if BOARD_SYSTEM76_LEMP10

config OVERRIDE_DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

config MAINBOARD_PART_NUMBER
	default "darp7" if BOARD_SYSTEM76_DARP7
	default "galp5" if BOARD_SYSTEM76_GALP5
	default "lemp10" if BOARD_SYSTEM76_LEMP10

config MAINBOARD_SMBIOS_PRODUCT_NAME
	default "Darter Pro" if BOARD_SYSTEM76_DARP7
	default "Galago Pro" if BOARD_SYSTEM76_GALP5
	default "Lemur Pro" if BOARD_SYSTEM76_LEMP10

config MAINBOARD_VERSION
	default "darp7" if BOARD_SYSTEM76_DARP7
	default "galp5" if BOARD_SYSTEM76_GALP5
	default "lemp10" if BOARD_SYSTEM76_LEMP10

config CBFS_SIZE
	default 0xA00000

config CONSOLE_POST
	default y

config POST_DEVICE
	default n

config UART_FOR_CONSOLE
	default 2

# PM Timer Disabled, saves power
config USE_PM_ACPI_TIMER
	default n

endif