1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_SYSTEM76_DARP6 || BOARD_SYSTEM76_GALP4 || BOARD_SYSTEM76_LEMP9
5 config BOARD_SPECIFIC_OPTIONS
7 select BOARD_ROMSIZE_KB_16384
8 select DRIVERS_GENERIC_CBFS_SERIAL
9 select DRIVERS_GENERIC_CBFS_UUID
10 select DRIVERS_I2C_HID
12 select HAVE_ACPI_RESUME
13 select HAVE_ACPI_TABLES
14 select HAVE_CMOS_DEFAULT
15 select HAVE_OPTION_TABLE
16 select HAVE_SPD_IN_CBFS if BOARD_SYSTEM76_LEMP9
17 select INTEL_GMA_HAVE_VBT
18 select INTEL_LPSS_UART_FOR_CONSOLE
19 select MEMORY_MAPPED_TPM
20 select MAINBOARD_HAS_TPM2
21 select NO_UART_ON_SUPERIO
22 select PCIEXP_HOTPLUG if BOARD_SYSTEM76_DARP6 || BOARD_SYSTEM76_GALP4
23 # Fix running out of MTRRs
24 select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G if BOARD_SYSTEM76_DARP6 || BOARD_SYSTEM76_GALP4
25 select SOC_INTEL_COMETLAKE_1
26 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
27 select SPD_READ_BY_WORD
28 select SYSTEM_TYPE_LAPTOP
29 select TPM_MEASURED_BOOT
30 select TPM_RDRESP_NEED_DELAY
33 default "system76/cml-u"
36 default "galp4" if BOARD_SYSTEM76_GALP4
37 default "darp6" if BOARD_SYSTEM76_DARP6
38 default "lemp9" if BOARD_SYSTEM76_LEMP9
40 config OVERRIDE_DEVICETREE
41 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
43 config MAINBOARD_PART_NUMBER
44 default "galp4" if BOARD_SYSTEM76_GALP4
45 default "darp6" if BOARD_SYSTEM76_DARP6
46 default "lemp9" if BOARD_SYSTEM76_LEMP9
48 config MAINBOARD_SMBIOS_PRODUCT_NAME
49 default "Galago Pro" if BOARD_SYSTEM76_GALP4
50 default "Darter Pro" if BOARD_SYSTEM76_DARP6
51 default "Lemur Pro" if BOARD_SYSTEM76_LEMP9
53 config MAINBOARD_VERSION
54 default "galp4" if BOARD_SYSTEM76_GALP4
55 default "darp6" if BOARD_SYSTEM76_DARP6
56 default "lemp9" if BOARD_SYSTEM76_LEMP9
64 config ONBOARD_VGA_IS_PRIMARY
67 config UART_FOR_CONSOLE