summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/l140cu/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-09-22 20:32:33 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-24 06:19:12 +0000
commitda3375ed41b9967699679734e980bede69b3b12b (patch)
tree4538ac04ff08a41814b0e1c7c1f24a85862fe2dd /src/mainboard/clevo/l140cu/Kconfig
parent80835a10e150d671dba4e4ea75b50dbd0521c4f5 (diff)
mb: Copy system76/lemp9 to clevo/l140cu
Copy system76/lemp9 to clevo/l140cu, since it's a Clevo notebook actually and both have the same mainboard. This commit is meant to create a working copy for clevo/l140cu. The only changes are names. Further patches will follow to make this mainboard more generic. Since system76/lemp9 is based on System76's EC firmware, EC stuff does not work correctly yet. This will be fixed in another patch. Tested on TUXEDO InfinityBook S 14 v5 and PCZ Lafité Pro 14. Change-Id: I7c2993256fd9123a8013df5ba8292ea1ead10f74 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45624 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/clevo/l140cu/Kconfig')
-rw-r--r--src/mainboard/clevo/l140cu/Kconfig80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/mainboard/clevo/l140cu/Kconfig b/src/mainboard/clevo/l140cu/Kconfig
new file mode 100644
index 0000000000..9012dc6124
--- /dev/null
+++ b/src/mainboard/clevo/l140cu/Kconfig
@@ -0,0 +1,80 @@
+if BOARD_CLEVO_L140CU
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_HID
+ select EC_SYSTEM76_EC
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_SMI_HANDLER
+ select HAVE_SPD_IN_CBFS
+ 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 SOC_INTEL_COMETLAKE_1
+ select SOC_INTEL_COMMON_BLOCK_HDA
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+ select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB
+
+config MAINBOARD_DIR
+ string
+ default "clevo/l140cu"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "L140CU"
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ string
+ default "L140CU"
+
+config MAINBOARD_VERSION
+ string
+ default "2.1A"
+
+config CBFS_SIZE
+ hex
+ default 0xc00000
+
+config CONSOLE_POST
+ 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 TPM_PIRQ
+ hex
+ default 0x10 # GPP_A7/PIRQA#
+
+config POST_DEVICE
+ bool
+ default n
+
+endif