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
32 default "system76/cml-u"
35 default "galp4" if BOARD_SYSTEM76_GALP4
36 default "darp6" if BOARD_SYSTEM76_DARP6
37 default "lemp9" if BOARD_SYSTEM76_LEMP9
39 config OVERRIDE_DEVICETREE
40 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
42 config MAINBOARD_PART_NUMBER
43 default "galp4" if BOARD_SYSTEM76_GALP4
44 default "darp6" if BOARD_SYSTEM76_DARP6
45 default "lemp9" if BOARD_SYSTEM76_LEMP9
47 config MAINBOARD_SMBIOS_PRODUCT_NAME
48 default "Galago Pro" if BOARD_SYSTEM76_GALP4
49 default "Darter Pro" if BOARD_SYSTEM76_DARP6
50 default "Lemur Pro" if BOARD_SYSTEM76_LEMP9
52 config MAINBOARD_VERSION
53 default "galp4" if BOARD_SYSTEM76_GALP4
54 default "darp6" if BOARD_SYSTEM76_DARP6
55 default "lemp9" if BOARD_SYSTEM76_LEMP9
63 config ONBOARD_VGA_IS_PRIMARY
66 config UART_FOR_CONSOLE