summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite/Kconfig
blob: f2c2ea65019853f45e4e458cd91340b167ef573a (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
## SPDX-License-Identifier: GPL-2.0-only

config BOARD_STARLABS_LITE_SERIES
	def_bool n
	select BOARD_ROMSIZE_KB_8192
	select DRIVERS_I2C_HID
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select HAVE_INTEL_PTT
	select INTEL_GMA_HAVE_VBT
	select INTEL_LPSS_UART_FOR_CONSOLE
	select CRB_TPM
	select MAINBOARD_HAS_TPM2
	select ONBOARD_VGA_IS_PRIMARY
	select SOC_INTEL_COMMON_BLOCK_HDA
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SPI_FLASH_GIGADEVICE
	select SYSTEM_TYPE_LAPTOP

config BOARD_STARLABS_LITE_GLK
	select BOARD_STARLABS_LITE_SERIES
	select EC_STARLABS_ITE
	select EC_STARLABS_KBL_LEVELS
	select SOC_INTEL_GEMINILAKE

config BOARD_STARLABS_LITE_GLKR
	select BOARD_STARLABS_LITE_SERIES
	select EC_STARLABS_FAST_CHARGE
	select EC_STARLABS_NUVOTON
	select EC_STARLABS_KBL_LEVELS
	select SOC_INTEL_GEMINILAKE

if BOARD_STARLABS_LITE_SERIES

config CMOS_DEFAULT_FILE
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_LITE_GLKR

config CMOS_LAYOUT_FILE
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_LITE_GLKR

config CONSOLE_SERIAL
	default n if !EDK2_DEBUG

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

config EC_GPE_SCI
	default 0x26

config EC_STARLABS_BATTERY_MODEL
	default "3172120X2-I116CG"

config EC_STARLABS_BATTERY_TYPE
	default "LiP"

config EC_STARLABS_BATTERY_OEM
	default "Apower Electronics"

config EC_VARIANT_DIR
	default "glk"  if BOARD_STARLABS_LITE_GLK
	default "glkr" if BOARD_STARLABS_LITE_GLKR

config FMDFILE
	default "src/mainboard/starlabs/lite/vboot.fmd" if VBOOT
	default "src/mainboard/starlabs/lite/board.fmd"

config MAINBOARD_DIR
	default "starlabs/lite"

config MAINBOARD_FAMILY
	string
	default "I3" if BOARD_STARLABS_LITE_GLK
	default "I4" if BOARD_STARLABS_LITE_GLKR

config MAINBOARD_PART_NUMBER
	default "Lite Mk III" if BOARD_STARLABS_LITE_GLK
	default "Lite Mk IV"  if BOARD_STARLABS_LITE_GLKR

config MAINBOARD_SMBIOS_PRODUCT_NAME
	string
	default "Lite"

config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
	default n

config TRACKPAD_INTERRUPT
	hex
	default 0x1 if BOARD_STARLABS_LITE_GLK
	default 0x0 if BOARD_STARLABS_LITE_GLKR

config EDK2_BOOTSPLASH_FILE
	string
	default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"

config UART_FOR_CONSOLE
	default 2

config VARIANT_DIR
	default "glk"  if BOARD_STARLABS_LITE_GLK
	default "glkr" if BOARD_STARLABS_LITE_GLKR

config VBOOT
	select VBOOT_VBNV_FLASH

config WEBCAM_USB_PORT
	int
	default 4 if BOARD_STARLABS_LITE_GLK
	default 7 if BOARD_STARLABS_LITE_GLKR
endif