summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/lemp9/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/lemp9/Kconfig')
-rw-r--r--src/mainboard/system76/lemp9/Kconfig103
1 files changed, 103 insertions, 0 deletions
diff --git a/src/mainboard/system76/lemp9/Kconfig b/src/mainboard/system76/lemp9/Kconfig
new file mode 100644
index 0000000000..a612503b6a
--- /dev/null
+++ b/src/mainboard/system76/lemp9/Kconfig
@@ -0,0 +1,103 @@
+if BOARD_SYSTEM76_LEMP9
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select ADD_FSP_BINARIES
+ select BOARD_ROMSIZE_KB_16384
+ select EC_ACPI
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_SMI_HANDLER
+ select GENERIC_SPD_BIN
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+# Chip select 2 is not yet supported by intel fast_spi
+# select MAINBOARD_HAS_SPI_TPM_CR50
+# select MAINBOARD_HAS_TPM2
+ select NO_UART_ON_SUPERIO
+ select SOC_INTEL_COMETLAKE
+ select SOC_INTEL_COMMON_BLOCK_HDA
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select USE_BLOBS
+ select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB
+
+config MAINBOARD_DIR
+ string
+ default system76/lemp9
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "lemp9"
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ string
+ default "Lemur Pro"
+
+config MAINBOARD_VERSION
+ string
+ default "lemp9"
+
+config CBFS_SIZE
+ hex
+ default 0xA00000
+
+config SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x1558
+
+config SUBSYSTEM_DEVICE_ID
+ hex
+ default 0x1401
+
+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 VGA_BIOS_FILE
+ string
+ default "pci8086,9b41.rom"
+
+config VGA_BIOS_ID
+ string
+ default "8086,9b41"
+
+config FSP_M_XIP
+ bool
+ default y
+
+config POST_DEVICE
+ bool
+ default n
+
+# Chip select 2 is not yet supported by intel fast_spi
+#config DRIVER_TPM_SPI_BUS
+# hex
+# default 0x0
+#
+#config DRIVER_TPM_SPI_CHIP
+# int
+# default 2
+
+endif