summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/mtl/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2024-05-22 10:43:43 -0600
committerFelix Held <felix-coreboot@felixheld.de>2024-07-22 13:58:48 +0000
commit8b17b9b1967c5299c021cb65e9322668ad32b9cc (patch)
treeac020e0b01273786612bb4feebda521f2ad3f8c9 /src/mainboard/system76/mtl/Kconfig
parenta4b9c182dded30d2a9437b6e78df9f60251cb85e (diff)
mb/system76/mtl: Add Darter Pro 10
The Darter Pro 10 (darp10) is an Intel Meteor Lake-H based board. There are 2 variants to differentiate them as they have different keyboards and so use different EC firmware. - darp10: 16" model with 102 key keyboard - darp10-b: 14" model with 83 key keyboard Change-Id: Iaef03a47cf108591ef823bfa779777c7c05c6337 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82609 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/mtl/Kconfig')
-rw-r--r--src/mainboard/system76/mtl/Kconfig96
1 files changed, 96 insertions, 0 deletions
diff --git a/src/mainboard/system76/mtl/Kconfig b/src/mainboard/system76/mtl/Kconfig
new file mode 100644
index 0000000000..aef8ec38b1
--- /dev/null
+++ b/src/mainboard/system76/mtl/Kconfig
@@ -0,0 +1,96 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+config BOARD_SYSTEM76_MTL_COMMON
+ def_bool n
+ select BOARD_ROMSIZE_KB_32768
+ select DRIVERS_GENERIC_BAYHUB_LV2
+ select DRIVERS_GENERIC_CBFS_SERIAL
+ select DRIVERS_GENERIC_CBFS_UUID
+ select DRIVERS_I2C_HID
+ select EC_SYSTEM76_EC
+ 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 MAINBOARD_HAS_TPM2
+ select MEMORY_MAPPED_TPM
+ select NO_UART_ON_SUPERIO
+ select PCIEXP_SUPPORT_RESIZABLE_BARS
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_CRASHLOG
+ select SOC_INTEL_METEORLAKE
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select TPM_RDRESP_NEED_DELAY
+
+config BOARD_SYSTEM76_DARP10
+ select BOARD_SYSTEM76_MTL_COMMON
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+ select SOC_INTEL_METEORLAKE_U_H
+
+config BOARD_SYSTEM76_DARP10_B
+ select BOARD_SYSTEM76_MTL_COMMON
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+ select SOC_INTEL_METEORLAKE_U_H
+
+if BOARD_SYSTEM76_MTL_COMMON
+
+config MAINBOARD_DIR
+ default "system76/mtl"
+
+config VARIANT_DIR
+ default "darp10" if BOARD_SYSTEM76_DARP10 || BOARD_SYSTEM76_DARP10_B
+
+config OVERRIDE_DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config MAINBOARD_PART_NUMBER
+ default "darp10" if BOARD_SYSTEM76_DARP10
+ default "darp10-b" if BOARD_SYSTEM76_DARP10_B
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "Darter Pro" if BOARD_SYSTEM76_DARP10 || BOARD_SYSTEM76_DARP10_B
+
+config MAINBOARD_VERSION
+ default "darp10" if BOARD_SYSTEM76_DARP10
+ default "darp10-b" if BOARD_SYSTEM76_DARP10_B
+
+config CMOS_DEFAULT_FILE
+ default "src/mainboard/\$(MAINBOARDDIR)/cmos.default"
+
+config CONSOLE_POST
+ default y
+
+config D3COLD_SUPPORT
+ default n
+
+config DIMM_SPD_SIZE
+ default 1024
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
+
+config ONBOARD_VGA_IS_PRIMARY
+ default y
+
+config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
+ default 36
+
+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