summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/whl-u/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-03-25 16:40:53 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-04-14 19:59:46 +0000
commit3647e86862ddc5cf200b0f552518d66b72996d8d (patch)
tree8056f3977f327e80e9c09908e820554ce10484b5 /src/mainboard/system76/whl-u/Kconfig
parentc0538d46130fe091c3e544eeb6fba7ffb5fc38f0 (diff)
mb/system76/whl-u: Add System76 Galago Pro 3 Rev C
Tested with TianoCore payload (UefiPayloadPkg). Working: - PS/2 keyboard, touchpad - Both DIMM slots - NVMe port - SATA port - SD card slot - Left USB 3 Type-A port - Right USB 3 Type-A port - Right USB 3 Type-C port - Webcam - Ethernet - Integrated graphics using Intel GOP driver - mDP output - HDMI output - Internal microphone - Internal speakers - 3.5mm audio input - 3.5mm audio output - S3 suspend/resume - Flashing with flashrom - Booting to Ubuntu Linux 20.10 and Windows 10 Not tested: - Thunderbolt functionality Change-Id: I5c992e603dbd57ae1b4ddc3a0f9bfc92d6acc813 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51832 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/whl-u/Kconfig')
-rw-r--r--src/mainboard/system76/whl-u/Kconfig79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/mainboard/system76/whl-u/Kconfig b/src/mainboard/system76/whl-u/Kconfig
new file mode 100644
index 0000000000..159f4c0442
--- /dev/null
+++ b/src/mainboard/system76/whl-u/Kconfig
@@ -0,0 +1,79 @@
+if BOARD_SYSTEM76_GALP3_C
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_HID
+ select EC_SYSTEM76_EC
+ select EC_SYSTEM76_EC_BAT_THRESHOLDS
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM2
+ select NO_UART_ON_SUPERIO
+ select PCIEXP_HOTPLUG
+ select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G # Fix running out of MTRRs
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_WHISKEYLAKE
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+
+config MAINBOARD_DIR
+ string
+ default "system76/whl-u"
+
+config VARIANT_DIR
+ string
+ default "galp3-c" if BOARD_SYSTEM76_GALP3_C
+
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "galp3-c" if BOARD_SYSTEM76_GALP3_C
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ string
+ default "Galago Pro" if BOARD_SYSTEM76_GALP3_C
+
+config MAINBOARD_VERSION
+ string
+ default "galp3-c" if BOARD_SYSTEM76_GALP3_C
+
+config CBFS_SIZE
+ hex
+ default 0xA00000
+
+config CONSOLE_POST
+ bool
+ default y
+
+config ONBOARD_VGA_IS_PRIMARY
+ bool
+ default y
+
+config UART_FOR_CONSOLE
+ int
+ default 2
+
+config MAX_CPUS
+ int
+ default 8
+
+config DIMM_MAX
+ int
+ default 2
+
+config DIMM_SPD_SIZE
+ int
+ default 512
+
+config POST_DEVICE
+ bool
+ default n
+
+endif