mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / system76 / tgl-u / Kconfig
blob4bce9a3f2d4871cb7b1b8e18a4f52ba428b984b4
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_SYSTEM76_DARP7 || BOARD_SYSTEM76_GALP5 || BOARD_SYSTEM76_LEMP10
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
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
14         select EC_SYSTEM76_EC
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
25         select PCIEXP_HOTPLUG
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
33 config MAINBOARD_DIR
34         default "system76/tgl-u"
36 config VARIANT_DIR
37         default "darp7" if BOARD_SYSTEM76_DARP7
38         default "galp5" if BOARD_SYSTEM76_GALP5
39         default "lemp10" if BOARD_SYSTEM76_LEMP10
41 config OVERRIDE_DEVICETREE
42         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
44 config MAINBOARD_PART_NUMBER
45         default "darp7" if BOARD_SYSTEM76_DARP7
46         default "galp5" if BOARD_SYSTEM76_GALP5
47         default "lemp10" if BOARD_SYSTEM76_LEMP10
49 config MAINBOARD_SMBIOS_PRODUCT_NAME
50         default "Darter Pro" if BOARD_SYSTEM76_DARP7
51         default "Galago Pro" if BOARD_SYSTEM76_GALP5
52         default "Lemur Pro" if BOARD_SYSTEM76_LEMP10
54 config MAINBOARD_VERSION
55         default "darp7" if BOARD_SYSTEM76_DARP7
56         default "galp5" if BOARD_SYSTEM76_GALP5
57         default "lemp10" if BOARD_SYSTEM76_LEMP10
59 config CONSOLE_POST
60         default y
62 config FMDFILE
63         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd"
65 config POST_DEVICE
66         default n
68 config UART_FOR_CONSOLE
69         default 2
71 # PM Timer Disabled, saves power
72 config USE_PM_ACPI_TIMER
73         default n
75 endif