mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / system76 / mtl / Kconfig
blob6f1c23d2d2530d852ca16307045a1846acbf1fb4
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_SYSTEM76_MTL_COMMON
4         def_bool n
5         select BOARD_ROMSIZE_KB_32768
6         select DRIVERS_GENERIC_BAYHUB_LV2
7         select DRIVERS_GENERIC_CBFS_SERIAL
8         select DRIVERS_GENERIC_CBFS_UUID
9         select DRIVERS_I2C_HID
10         select EC_SYSTEM76_EC
11         select HAVE_ACPI_RESUME
12         select HAVE_ACPI_TABLES
13         select HAVE_CMOS_DEFAULT
14         select HAVE_OPTION_TABLE
15         select INTEL_GMA_HAVE_VBT
16         select INTEL_LPSS_UART_FOR_CONSOLE
17         select MAINBOARD_HAS_TPM2
18         select MEMORY_MAPPED_TPM
19         select NO_UART_ON_SUPERIO
20         select PCIEXP_SUPPORT_RESIZABLE_BARS
21         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
22         select SOC_INTEL_CRASHLOG
23         select SOC_INTEL_METEORLAKE
24         select SPD_READ_BY_WORD
25         select SYSTEM_TYPE_LAPTOP
27 config BOARD_SYSTEM76_DARP10
28         select BOARD_SYSTEM76_MTL_COMMON
29         select MAINBOARD_USES_IFD_GBE_REGION
30         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
31         select SOC_INTEL_METEORLAKE_U_H
33 config BOARD_SYSTEM76_DARP10_B
34         select BOARD_SYSTEM76_MTL_COMMON
35         select MAINBOARD_USES_IFD_GBE_REGION
36         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
37         select SOC_INTEL_METEORLAKE_U_H
39 if BOARD_SYSTEM76_MTL_COMMON
41 config MAINBOARD_DIR
42         default "system76/mtl"
44 config VARIANT_DIR
45         default "darp10" if BOARD_SYSTEM76_DARP10 || BOARD_SYSTEM76_DARP10_B
47 config OVERRIDE_DEVICETREE
48         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
50 config MAINBOARD_PART_NUMBER
51         default "darp10" if BOARD_SYSTEM76_DARP10
52         default "darp10-b" if BOARD_SYSTEM76_DARP10_B
54 config MAINBOARD_SMBIOS_PRODUCT_NAME
55         default "Darter Pro" if BOARD_SYSTEM76_DARP10 || BOARD_SYSTEM76_DARP10_B
57 config MAINBOARD_VERSION
58         default "darp10" if BOARD_SYSTEM76_DARP10
59         default "darp10-b" if BOARD_SYSTEM76_DARP10_B
61 config CMOS_DEFAULT_FILE
62         default "src/mainboard/\$(MAINBOARDDIR)/cmos.default"
64 config CONSOLE_POST
65         default y
67 config D3COLD_SUPPORT
68         default n
70 config DIMM_SPD_SIZE
71         default 1024
73 config FMDFILE
74         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
76 config ONBOARD_VGA_IS_PRIMARY
77         default y
79 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
80         default 36
82 config POST_DEVICE
83         default n
85 config TPM_MEASURED_BOOT
86         default y
88 config UART_FOR_CONSOLE
89         default 0
91 # PM Timer Disabled, saves power
92 config USE_PM_ACPI_TIMER
93         default n
95 endif