mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / system76 / whl-u / Kconfig
blobb8cb4fc33c56291f2b85d6966e4ec96cd031479d
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_SYSTEM76_GALP3_C || BOARD_SYSTEM76_DARP5
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
7         select BOARD_ROMSIZE_KB_16384
8         select DRIVERS_GENERIC_CBFS_SERIAL
9         select DRIVERS_GENERIC_CBFS_UUID
10         select DRIVERS_I2C_HID
11         select EC_SYSTEM76_EC
12         select HAVE_ACPI_RESUME
13         select HAVE_ACPI_TABLES
14         select HAVE_CMOS_DEFAULT
15         select HAVE_OPTION_TABLE
16         select INTEL_GMA_HAVE_VBT
17         select INTEL_LPSS_UART_FOR_CONSOLE
18         select MEMORY_MAPPED_TPM
19         select MAINBOARD_HAS_TPM2
20         select NO_UART_ON_SUPERIO
21         select PCIEXP_HOTPLUG
22         select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G # Fix running out of MTRRs
23         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
24         select SOC_INTEL_WHISKEYLAKE
25         select SPD_READ_BY_WORD
26         select SYSTEM_TYPE_LAPTOP
27         select TPM_MEASURED_BOOT
29 config MAINBOARD_DIR
30         default "system76/whl-u"
32 config VARIANT_DIR
33         default "galp3-c" if BOARD_SYSTEM76_GALP3_C
34         default "darp5" if BOARD_SYSTEM76_DARP5
36 config OVERRIDE_DEVICETREE
37         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
39 config MAINBOARD_PART_NUMBER
40         default "galp3-c" if BOARD_SYSTEM76_GALP3_C
41         default "darp5" if BOARD_SYSTEM76_DARP5
43 config MAINBOARD_SMBIOS_PRODUCT_NAME
44         string
45         default "Galago Pro" if BOARD_SYSTEM76_GALP3_C
46         default "Darter Pro" if BOARD_SYSTEM76_DARP5
48 config MAINBOARD_VERSION
49         string
50         default "galp3-c" if BOARD_SYSTEM76_GALP3_C
51         default "darp5" if BOARD_SYSTEM76_DARP5
53 config CBFS_SIZE
54         default 0xA00000
56 config CONSOLE_POST
57         bool
58         default y
60 config ONBOARD_VGA_IS_PRIMARY
61         bool
62         default y
64 config UART_FOR_CONSOLE
65         int
66         default 2
68 config MAX_CPUS
69         int
70         default 8
72 config DIMM_MAX
73         default 2
75 config POST_DEVICE
76         bool
77         default n
79 endif