summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/tgl-h/Kconfig
blob: 6ce452f7ba2fddd0244e2b06d584ba9496c8e589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## SPDX-License-Identifier: GPL-2.0-only

if BOARD_SYSTEM76_GAZE16_3050 || BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B || BOARD_SYSTEM76_ORYP8

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_GENERIC_BAYHUB_LV2
	select DRIVERS_GENERIC_CBFS_SERIAL
	select DRIVERS_GENERIC_CBFS_UUID
	select DRIVERS_I2C_HID
	select DRIVERS_I2C_TAS5825M if BOARD_SYSTEM76_ORYP8
	select EC_SYSTEM76_EC
	select EC_SYSTEM76_EC_DGPU
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select INTEL_GMA_HAVE_VBT
	select INTEL_LPSS_UART_FOR_CONSOLE
	select MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM2
	select MAINBOARD_USES_IFD_GBE_REGION if BOARD_SYSTEM76_GAZE16_3060_B
	select NO_UART_ON_SUPERIO
	select PCIEXP_HOTPLUG if BOARD_SYSTEM76_ORYP8
	select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G if BOARD_SYSTEM76_ORYP8
	select SOC_INTEL_TIGERLAKE
	select SOC_INTEL_TIGERLAKE_PCH_H
	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-h"

config MAINBOARD_PART_NUMBER
	default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050
	default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060
	default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B
	default "oryp8" if BOARD_SYSTEM76_ORYP8

config MAINBOARD_SMBIOS_PRODUCT_NAME
	default "Oryx Pro" if BOARD_SYSTEM76_ORYP8
	default "Gazelle"

config MAINBOARD_VERSION
	default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050
	default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060
	default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B
	default "oryp8" if BOARD_SYSTEM76_ORYP8

config VARIANT_DIR
	default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050
	default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B
	default "oryp8" if BOARD_SYSTEM76_ORYP8

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

config CONSOLE_POST
	default y

config FMDFILE
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" if !MAINBOARD_USES_IFD_GBE_REGION
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board-gbe.fmd" if MAINBOARD_USES_IFD_GBE_REGION

config ONBOARD_VGA_IS_PRIMARY
	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

config D3COLD_SUPPORT
	default n

endif