libpayload: configs: Add new config.featuretest to broaden CI
[coreboot.git] / src / mainboard / intel / glkrvp / Kconfig
blob84a1d270c73b7eea0010f0e99fdba344ff96a33b
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_INTEL_BASEBOARD_GLKRVP
4         def_bool n
5         select SOC_INTEL_GEMINILAKE
6         select BOARD_ROMSIZE_KB_16384
7         select DRIVERS_I2C_GENERIC
8         select DRIVERS_I2C_HID
9         select HAVE_ACPI_RESUME
10         select HAVE_ACPI_TABLES
11         select INTEL_LPSS_UART_FOR_CONSOLE
12         select MAINBOARD_HAS_CHROMEOS
13         select MEMORY_MAPPED_TPM
14         select DRIVERS_GENERIC_MAX98357A
15         select DRIVERS_I2C_DA7219
16         select SOC_ESPI
18 config BOARD_INTEL_GLKRVP
19         select BOARD_INTEL_BASEBOARD_GLKRVP
20         select BASEBOARD_GLKRVP_LAPTOP
22 if BOARD_INTEL_BASEBOARD_GLKRVP
24 config BASEBOARD_GLKRVP_LAPTOP
25         def_bool n
26         select SYSTEM_TYPE_LAPTOP
28 choice
29         prompt "ON BOARD EC"
30         default GLK_CHROME_EC
31         help
32           This option allows you to select the on board EC to use.
33           Select whether the board  has Intel EC or Chrome EC
35 config GLK_CHROME_EC
36         bool "Chrome EC"
37         select EC_GOOGLE_CHROMEEC
38         select EC_GOOGLE_CHROMEEC_ESPI
40 config GLK_INTEL_EC
41         bool "Intel EC"
42         select EC_ACPI
43 endchoice
45 config CHROMEOS
46         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
47         select VBOOT_LID_SWITCH if GLK_CHROME_EC
49 config VBOOT
50         select HAS_RECOVERY_MRC_CACHE
51         select EC_GOOGLE_CHROMEEC_SWITCHES if GLK_CHROME_EC
53 config MAINBOARD_DIR
54         default "intel/glkrvp"
56 config VARIANT_DIR
57         default "glkrvp" if BOARD_INTEL_GLKRVP
59 config DEVICETREE
60         default "variants/baseboard/devicetree.cb"
62 config MAINBOARD_PART_NUMBER
63         default "glkrvp" if BOARD_INTEL_GLKRVP
65 config MAINBOARD_FAMILY
66         string
67         default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP
69 config UART_FOR_CONSOLE
70         int
71         default 2
73 config INCLUDE_NHLT_BLOBS
74         bool "Include blobs for audio."
75         select NHLT_DMIC_4CH_16B
76         select NHLT_DA7219
77         select NHLT_MAX98357
79 config IS_GLK_RVP_1
80         bool "Is this RVP1?"
81         default n
83 config SOC_INTEL_COMMON_BLOCK_SGX_ENABLE
84         bool
85         default y
87 endif # BOARD_INTEL_GLKRVP