1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_SYSTEM76_DARP7 || BOARD_SYSTEM76_GALP5 || BOARD_SYSTEM76_LEMP10
5 config BOARD_SPECIFIC_OPTIONS
7 select BOARD_ROMSIZE_KB_16384
8 select DRIVERS_GENERIC_BAYHUB_LV2
9 select DRIVERS_GENERIC_CBFS_SERIAL
10 select DRIVERS_GENERIC_CBFS_UUID
11 select DRIVERS_I2C_HID
12 select DRIVERS_INTEL_PMC
13 select DRIVERS_INTEL_USB4_RETIMER
15 select EC_SYSTEM76_EC_DGPU if BOARD_SYSTEM76_GALP5
16 select HAVE_ACPI_TABLES
17 select HAVE_CMOS_DEFAULT
18 select HAVE_OPTION_TABLE
19 select HAVE_SPD_IN_CBFS if BOARD_SYSTEM76_LEMP10
20 select INTEL_GMA_HAVE_VBT
21 select INTEL_LPSS_UART_FOR_CONSOLE
22 select MEMORY_MAPPED_TPM
23 select MAINBOARD_HAS_TPM2
24 select NO_UART_ON_SUPERIO
26 select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
27 select SOC_INTEL_TIGERLAKE
28 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
29 select SPD_READ_BY_WORD
30 select SYSTEM_TYPE_LAPTOP
31 select TPM_MEASURED_BOOT
32 select TPM_RDRESP_NEED_DELAY
35 default "system76/tgl-u"
38 default "darp7" if BOARD_SYSTEM76_DARP7
39 default "galp5" if BOARD_SYSTEM76_GALP5
40 default "lemp10" if BOARD_SYSTEM76_LEMP10
42 config OVERRIDE_DEVICETREE
43 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
45 config MAINBOARD_PART_NUMBER
46 default "darp7" if BOARD_SYSTEM76_DARP7
47 default "galp5" if BOARD_SYSTEM76_GALP5
48 default "lemp10" if BOARD_SYSTEM76_LEMP10
50 config MAINBOARD_SMBIOS_PRODUCT_NAME
51 default "Darter Pro" if BOARD_SYSTEM76_DARP7
52 default "Galago Pro" if BOARD_SYSTEM76_GALP5
53 default "Lemur Pro" if BOARD_SYSTEM76_LEMP10
55 config MAINBOARD_VERSION
56 default "darp7" if BOARD_SYSTEM76_DARP7
57 default "galp5" if BOARD_SYSTEM76_GALP5
58 default "lemp10" if BOARD_SYSTEM76_LEMP10
64 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd"
69 config UART_FOR_CONSOLE
72 # PM Timer Disabled, saves power
73 config USE_PM_ACPI_TIMER