1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_SYSTEM76_ADL_COMMON
5 select BOARD_ROMSIZE_KB_32768
6 select DRIVERS_GENERIC_BAYHUB_LV2
7 select DRIVERS_GENERIC_CBFS_SERIAL
8 select DRIVERS_GENERIC_CBFS_UUID
10 select DRIVERS_INTEL_PMC
11 select DRIVERS_INTEL_USB4_RETIMER
13 select HAVE_ACPI_RESUME
14 select HAVE_ACPI_TABLES
15 select HAVE_CMOS_DEFAULT
16 select HAVE_OPTION_TABLE
17 select INTEL_GMA_HAVE_VBT
18 select INTEL_LPSS_UART_FOR_CONSOLE
19 select MAINBOARD_HAS_TPM2
20 select MEMORY_MAPPED_TPM
21 select NO_UART_ON_SUPERIO
22 select SOC_INTEL_ALDERLAKE_PCH_P
23 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
24 select SOC_INTEL_CRASHLOG
25 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
26 select SPD_READ_BY_WORD
27 select SYSTEM_TYPE_LAPTOP
29 config BOARD_SYSTEM76_DARP8
30 select BOARD_SYSTEM76_ADL_COMMON
32 config BOARD_SYSTEM76_GALP6
33 select BOARD_SYSTEM76_ADL_COMMON
35 config BOARD_SYSTEM76_GAZE17_3050
36 select BOARD_SYSTEM76_ADL_COMMON
37 select EC_SYSTEM76_EC_DGPU
39 config BOARD_SYSTEM76_GAZE17_3060_B
40 select BOARD_SYSTEM76_ADL_COMMON
41 select EC_SYSTEM76_EC_DGPU
42 select MAINBOARD_USES_IFD_GBE_REGION
44 config BOARD_SYSTEM76_LEMP11
45 select BOARD_SYSTEM76_ADL_COMMON
46 select HAVE_SPD_IN_CBFS
48 config BOARD_SYSTEM76_ORYP9
49 select BOARD_SYSTEM76_ADL_COMMON
50 select DRIVERS_I2C_TAS5825M
51 select EC_SYSTEM76_EC_DGPU
53 config BOARD_SYSTEM76_ORYP10
54 select BOARD_SYSTEM76_ADL_COMMON
55 select EC_SYSTEM76_EC_DGPU
57 if BOARD_SYSTEM76_ADL_COMMON
60 default "system76/adl"
63 default "darp8" if BOARD_SYSTEM76_DARP8
64 default "galp6" if BOARD_SYSTEM76_GALP6
65 default "gaze17-3050" if BOARD_SYSTEM76_GAZE17_3050
66 default "gaze17-3060-b" if BOARD_SYSTEM76_GAZE17_3060_B
67 default "lemp11" if BOARD_SYSTEM76_LEMP11
68 default "oryp9" if BOARD_SYSTEM76_ORYP9
69 default "oryp10" if BOARD_SYSTEM76_ORYP10
71 config OVERRIDE_DEVICETREE
72 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
74 config MAINBOARD_PART_NUMBER
75 default "darp8" if BOARD_SYSTEM76_DARP8
76 default "galp6" if BOARD_SYSTEM76_GALP6
77 default "gaze17-3050" if BOARD_SYSTEM76_GAZE17_3050
78 default "gaze17-3060-b" if BOARD_SYSTEM76_GAZE17_3060_B
79 default "lemp11" if BOARD_SYSTEM76_LEMP11
80 default "oryp9" if BOARD_SYSTEM76_ORYP9
81 default "oryp10" if BOARD_SYSTEM76_ORYP10
83 config MAINBOARD_SMBIOS_PRODUCT_NAME
84 default "Darter Pro" if BOARD_SYSTEM76_DARP8
85 default "Galago Pro" if BOARD_SYSTEM76_GALP6
86 default "Gazelle" if BOARD_SYSTEM76_GAZE17_3050 || BOARD_SYSTEM76_GAZE17_3060_B
87 default "Lemur Pro" if BOARD_SYSTEM76_LEMP11
88 default "Oryx Pro" if BOARD_SYSTEM76_ORYP9 || BOARD_SYSTEM76_ORYP10
90 config MAINBOARD_VERSION
91 default "darp8" if BOARD_SYSTEM76_DARP8
92 default "galp6" if BOARD_SYSTEM76_GALP6
93 default "gaze17-3050" if BOARD_SYSTEM76_GAZE17_3050
94 default "gaze17-3060-b" if BOARD_SYSTEM76_GAZE17_3060_B
95 default "lemp11" if BOARD_SYSTEM76_LEMP11
96 default "oryp9" if BOARD_SYSTEM76_ORYP9
97 default "oryp10" if BOARD_SYSTEM76_ORYP10
102 config D3COLD_SUPPORT
106 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd"
108 config ONBOARD_VGA_IS_PRIMARY
114 config TPM_MEASURED_BOOT
117 config UART_FOR_CONSOLE
120 # PM Timer Disabled, saves power
121 config USE_PM_ACPI_TIMER