summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/adl/Kconfig
blob: 00f19fb51fd3597f4884a062438e0336c4853eac (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
if BOARD_SYSTEM76_DARP8 || BOARD_SYSTEM76_GALP6 || BOARD_SYSTEM76_LEMP11 || BOARD_SYSTEM76_ORYP9

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_32768
	select DRIVERS_I2C_HID
	select DRIVERS_INTEL_PMC
	select DRIVERS_INTEL_USB4_RETIMER
	select DRIVERS_I2C_TAS5825M if BOARD_SYSTEM76_ORYP9
	select EC_SYSTEM76_EC
	select EC_SYSTEM76_EC_COLOR_KEYBOARD if BOARD_SYSTEM76_DARP8 || BOARD_SYSTEM76_ORYP9
	select EC_SYSTEM76_EC_DGPU if BOARD_SYSTEM76_ORYP9
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select HAVE_SPD_IN_CBFS if BOARD_SYSTEM76_LEMP11
	select INTEL_GMA_HAVE_VBT
	select INTEL_LPSS_UART_FOR_CONSOLE
	select MAINBOARD_HAS_TPM2
	select MEMORY_MAPPED_TPM
	select NO_UART_ON_SUPERIO
	select SOC_INTEL_ALDERLAKE_PCH_P
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SOC_INTEL_CRASHLOG
	select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
	select SPD_READ_BY_WORD
	select SYSTEM_TYPE_LAPTOP

config MAINBOARD_DIR
	default "system76/adl"

config VARIANT_DIR
	default "darp8" if BOARD_SYSTEM76_DARP8
	default "galp6" if BOARD_SYSTEM76_GALP6
	default "lemp11" if BOARD_SYSTEM76_LEMP11
	default "oryp9" if BOARD_SYSTEM76_ORYP9

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

config MAINBOARD_PART_NUMBER
	default "darp8" if BOARD_SYSTEM76_DARP8
	default "galp6" if BOARD_SYSTEM76_GALP6
	default "lemp11" if BOARD_SYSTEM76_LEMP11
	default "oryp9" if BOARD_SYSTEM76_ORYP9

config MAINBOARD_SMBIOS_PRODUCT_NAME
	default "Darter Pro" if BOARD_SYSTEM76_DARP8
	default "Galago Pro" if BOARD_SYSTEM76_GALP6
	default "Lemur Pro" if BOARD_SYSTEM76_LEMP11
	default "Oryx Pro" if BOARD_SYSTEM76_ORYP9

config MAINBOARD_VERSION
	default "darp8" if BOARD_SYSTEM76_DARP8
	default "galp6" if BOARD_SYSTEM76_GALP6
	default "lemp11" if BOARD_SYSTEM76_LEMP11
	default "oryp9" if BOARD_SYSTEM76_ORYP9

config CBFS_SIZE
	default 0xA00000

config CONSOLE_POST
	default y

config DIMM_SPD_SIZE
	default 512

config ONBOARD_VGA_IS_PRIMARY
	default y

config POST_DEVICE
	default n

config TPM_MEASURED_BOOT
	default y

config UART_FOR_CONSOLE
	default 0

# PM Timer Disabled, saves power
config USE_PM_ACPI_TIMER
	default n

endif