summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/Kconfig
blob: f557e6e7d78ae1b7ba4022e043e263e61ef8da75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
config BOARD_CLEVO_CMLU_COMMON
	def_bool n
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_I2C_HID
	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_LIBGFXINIT
	select MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM2
	select NO_UART_ON_SUPERIO
	select SOC_INTEL_COMETLAKE_1
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SPD_READ_BY_WORD
	select SYSTEM_TYPE_LAPTOP

config BOARD_CLEVO_L140CU_BASE
	bool
	select BOARD_CLEVO_CMLU_COMMON
	select EC_SYSTEM76_EC
	select HAVE_SPD_IN_CBFS

if BOARD_CLEVO_CMLU_COMMON

config MAINBOARD_DIR
	default "clevo/cml-u"

config MAINBOARD_PART_NUMBER
	default "L140CU" if BOARD_CLEVO_L140CU

config MAINBOARD_VERSION
	string
	default "2.1A" if BOARD_CLEVO_L140CU_BASE

config DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"

config CBFS_SIZE
	default 0xc00000 if BOARD_CLEVO_L140CU_BASE

config CONSOLE_POST
	bool
	default y

config UART_FOR_CONSOLE
	int
	default 2

config DIMM_MAX
	default 2 if BOARD_CLEVO_L140CU_BASE

config VGA_BIOS_ID
	string
	default "8086,9b41"

config TPM_PIRQ
	hex
	default 0x10 if BOARD_CLEVO_L140CU_BASE # GPP_A7/PIRQA#

config POST_DEVICE
	bool
	default n

config VARIANT_DIR
	default "l140cu" if BOARD_CLEVO_L140CU_BASE

config SEABIOS_PS2_TIMEOUT
	int
	depends on PAYLOAD_SEABIOS
	default 500

config EC_SYSTEM76_EC_BAT_THRESHOLDS
	default n if BOARD_CLEVO_L140CU_BASE

endif