summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/addw1/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-09-20 10:18:02 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-22 13:45:55 +0000
commit6a93a4524205e66c16fdc568f7991b6d25887a22 (patch)
treeecd16eb9a7becf3a3ef86e8205c2733e3a4e9752 /src/mainboard/system76/addw1/Kconfig
parent5ab146674c5e95f9910b3edae88fbb5dd35aaeb4 (diff)
mb/system76/addw1: Add System76 Adder Workstation 1
Change-Id: I5dd3bc320ca640728e1d86180c6bfa0dc7295760 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48421 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/addw1/Kconfig')
-rw-r--r--src/mainboard/system76/addw1/Kconfig65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/mainboard/system76/addw1/Kconfig b/src/mainboard/system76/addw1/Kconfig
new file mode 100644
index 0000000000..038dc1fe56
--- /dev/null
+++ b/src/mainboard/system76/addw1/Kconfig
@@ -0,0 +1,65 @@
+if BOARD_SYSTEM76_ADDW1
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_HID
+ select DRIVERS_I2C_TAS5825M
+ select EC_SYSTEM76_EC
+ select EC_SYSTEM76_EC_BAT_THRESHOLDS
+ select EC_SYSTEM76_EC_COLOR_KEYBOARD
+ select EC_SYSTEM76_EC_OLED
+ 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_LPC_TPM
+ select MAINBOARD_HAS_TPM2
+ select NO_UART_ON_SUPERIO
+ select PCIEXP_HOTPLUG
+ select SOC_INTEL_CANNONLAKE_PCH_H
+ select SOC_INTEL_COFFEELAKE if BOARD_SYSTEM76_ADDW1
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select TPM_RDRESP_NEED_DELAY
+
+config MAINBOARD_DIR
+ default "system76/addw1"
+
+config VARIANT_DIR
+ default "addw1" if BOARD_SYSTEM76_ADDW1
+
+config OVERRIDE_DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
+config MAINBOARD_PART_NUMBER
+ default "addw1" if BOARD_SYSTEM76_ADDW1
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ default "Adder WS"
+
+config MAINBOARD_VERSION
+ default "addw1" if BOARD_SYSTEM76_ADDW1
+
+config CBFS_SIZE
+ default 0xA00000
+
+config CONSOLE_POST
+ default y
+
+config ONBOARD_VGA_IS_PRIMARY
+ default y
+
+config UART_FOR_CONSOLE
+ default 2
+
+config DIMM_MAX
+ default 2
+
+config POST_DEVICE
+ default n
+
+endif