summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-09-23 20:28:05 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-25 00:28:37 +0000
commit44df56edcededb72d12289a6be8b7e2fb8fc1da0 (patch)
tree24efad6b8e16d046f53cb7dcf5e22675f5772842 /src/mainboard/clevo/cml-u/Kconfig
parent1f4b3cdeb0ed9037005b49a83751617f244232cd (diff)
mb/clevo: Rename l140cu to cml-u
In addition to CB:45664, rename clevo/l140cu to clevo/cml-u being able to add more variants under a generic mainboard later. Change-Id: I9c16e24830ebb80752df302aa2e63d9df8edad95 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45665 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/clevo/cml-u/Kconfig')
-rw-r--r--src/mainboard/clevo/cml-u/Kconfig88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/mainboard/clevo/cml-u/Kconfig b/src/mainboard/clevo/cml-u/Kconfig
new file mode 100644
index 0000000000..bc75df9216
--- /dev/null
+++ b/src/mainboard/clevo/cml-u/Kconfig
@@ -0,0 +1,88 @@
+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/cml-u"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "L140CU" if BOARD_CLEVO_L140CU
+
+config MAINBOARD_SMBIOS_PRODUCT_NAME
+ string
+ default "L140CU" if BOARD_CLEVO_L140CU
+
+config MAINBOARD_VERSION
+ string
+ default "2.1A" if BOARD_CLEVO_L140CU
+
+config DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
+config CBFS_SIZE
+ hex
+ default 0xc00000 if BOARD_CLEVO_L140CU
+
+config CONSOLE_POST
+ bool
+ default y
+
+config UART_FOR_CONSOLE
+ int
+ default 2
+
+config MAX_CPUS
+ int
+ default 8 if BOARD_CLEVO_L140CU
+
+config DIMM_MAX
+ int
+ default 2 if BOARD_CLEVO_L140CU
+
+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 if BOARD_CLEVO_L140CU # GPP_A7/PIRQA#
+
+config POST_DEVICE
+ bool
+ default n
+
+config VARIANT_DIR
+ string
+ default "l140cu" if BOARD_CLEVO_L140CU
+
+endif