mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / starlabs / lite / Kconfig
blobf2c2ea65019853f45e4e458cd91340b167ef573a
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_STARLABS_LITE_SERIES
4         def_bool n
5         select BOARD_ROMSIZE_KB_8192
6         select DRIVERS_I2C_HID
7         select HAVE_ACPI_RESUME
8         select HAVE_ACPI_TABLES
9         select HAVE_CMOS_DEFAULT
10         select HAVE_OPTION_TABLE
11         select HAVE_INTEL_PTT
12         select INTEL_GMA_HAVE_VBT
13         select INTEL_LPSS_UART_FOR_CONSOLE
14         select CRB_TPM
15         select MAINBOARD_HAS_TPM2
16         select ONBOARD_VGA_IS_PRIMARY
17         select SOC_INTEL_COMMON_BLOCK_HDA
18         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
19         select SPI_FLASH_GIGADEVICE
20         select SYSTEM_TYPE_LAPTOP
22 config BOARD_STARLABS_LITE_GLK
23         select BOARD_STARLABS_LITE_SERIES
24         select EC_STARLABS_ITE
25         select EC_STARLABS_KBL_LEVELS
26         select SOC_INTEL_GEMINILAKE
28 config BOARD_STARLABS_LITE_GLKR
29         select BOARD_STARLABS_LITE_SERIES
30         select EC_STARLABS_FAST_CHARGE
31         select EC_STARLABS_NUVOTON
32         select EC_STARLABS_KBL_LEVELS
33         select SOC_INTEL_GEMINILAKE
35 if BOARD_STARLABS_LITE_SERIES
37 config CMOS_DEFAULT_FILE
38         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_LITE_GLKR
40 config CMOS_LAYOUT_FILE
41         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_LITE_GLKR
43 config CONSOLE_SERIAL
44         default n if !EDK2_DEBUG
46 config DEVICETREE
47         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
49 config EC_GPE_SCI
50         default 0x26
52 config EC_STARLABS_BATTERY_MODEL
53         default "3172120X2-I116CG"
55 config EC_STARLABS_BATTERY_TYPE
56         default "LiP"
58 config EC_STARLABS_BATTERY_OEM
59         default "Apower Electronics"
61 config EC_VARIANT_DIR
62         default "glk"  if BOARD_STARLABS_LITE_GLK
63         default "glkr" if BOARD_STARLABS_LITE_GLKR
65 config FMDFILE
66         default "src/mainboard/starlabs/lite/vboot.fmd" if VBOOT
67         default "src/mainboard/starlabs/lite/board.fmd"
69 config MAINBOARD_DIR
70         default "starlabs/lite"
72 config MAINBOARD_FAMILY
73         string
74         default "I3" if BOARD_STARLABS_LITE_GLK
75         default "I4" if BOARD_STARLABS_LITE_GLKR
77 config MAINBOARD_PART_NUMBER
78         default "Lite Mk III" if BOARD_STARLABS_LITE_GLK
79         default "Lite Mk IV"  if BOARD_STARLABS_LITE_GLKR
81 config MAINBOARD_SMBIOS_PRODUCT_NAME
82         string
83         default "Lite"
85 config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
86         default n
88 config TRACKPAD_INTERRUPT
89         hex
90         default 0x1 if BOARD_STARLABS_LITE_GLK
91         default 0x0 if BOARD_STARLABS_LITE_GLKR
93 config EDK2_BOOTSPLASH_FILE
94         string
95         default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
97 config UART_FOR_CONSOLE
98         default 2
100 config VARIANT_DIR
101         default "glk"  if BOARD_STARLABS_LITE_GLK
102         default "glkr" if BOARD_STARLABS_LITE_GLKR
104 config VBOOT
105         select VBOOT_VBNV_FLASH
107 config WEBCAM_USB_PORT
108         int
109         default 4 if BOARD_STARLABS_LITE_GLK
110         default 7 if BOARD_STARLABS_LITE_GLKR
111 endif