summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/adl/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2023-02-06 11:14:57 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-02-28 17:43:00 +0000
commitf0400e7d3f1bf7e6f8b5fa2ba371a24c39f91b0e (patch)
tree2e0bdcdec2b3e445f3393d698e344cc3baeb1f26 /src/mainboard/system76/adl/Kconfig
parent9770df1e9dfff99f8e764a56e6f603d4266edfb7 (diff)
mb/system76: Rename adl-p to adl
The directory holds boards other than ADL-P, such as ADL-U and ADL-H. Change-Id: I8e1b67f83d649cd07645a4a519ba1bf2f6f5e7c6 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72802 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jeremy Soller <jeremy@system76.com>
Diffstat (limited to 'src/mainboard/system76/adl/Kconfig')
-rw-r--r--src/mainboard/system76/adl/Kconfig70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/mainboard/system76/adl/Kconfig b/src/mainboard/system76/adl/Kconfig
new file mode 100644
index 0000000000..a45053414d
--- /dev/null
+++ b/src/mainboard/system76/adl/Kconfig
@@ -0,0 +1,70 @@
+if BOARD_SYSTEM76_DARP8 || BOARD_SYSTEM76_GALP6
+
+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 EC_SYSTEM76_EC
+ select EC_SYSTEM76_EC_COLOR_KEYBOARD if BOARD_SYSTEM76_DARP8
+ 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 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
+
+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
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "Darter Pro" if BOARD_SYSTEM76_DARP8
+ default "Galago Pro" if BOARD_SYSTEM76_GALP6
+
+config MAINBOARD_VERSION
+ default "darp8" if BOARD_SYSTEM76_DARP8
+ default "galp6" if BOARD_SYSTEM76_GALP6
+
+config CBFS_SIZE
+ default 0xA00000
+
+config CONSOLE_POST
+ default y
+
+config DIMM_SPD_SIZE
+ default 512
+
+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