mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / glados / Kconfig
blob0bea9e72bd102032aa6f1f6f98046063615bba88
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_GLADOS
4         def_bool n
5         select BOARD_ROMSIZE_KB_16384
6         select DRIVERS_I2C_GENERIC
7         select DRIVERS_I2C_NAU8825
8         select EC_GOOGLE_CHROMEEC
9         select EC_GOOGLE_CHROMEEC_ACPI_MEMMAP
10         select EC_GOOGLE_CHROMEEC_BOARDID
11         select EC_GOOGLE_CHROMEEC_LPC
12         select EC_GOOGLE_CHROMEEC_MEC
13         select EC_GOOGLE_CHROMEEC_PD
14         select HAVE_ACPI_RESUME
15         select HAVE_ACPI_TABLES
16         select HAVE_OPTION_TABLE
17         select HAVE_SPD_IN_CBFS
18         select INTEL_LPSS_UART_FOR_CONSOLE
19         select MAINBOARD_HAS_CHROMEOS
20         select MAINBOARD_HAS_LIBGFXINIT
21         select MEMORY_MAPPED_TPM
22         select MAINBOARD_HAS_TPM1
23         select SOC_INTEL_SKYLAKE
24         select SYSTEM_TYPE_LAPTOP
26 config BOARD_GOOGLE_ASUKA
27         select BOARD_GOOGLE_BASEBOARD_GLADOS
28         select DRIVERS_GENERIC_MAX98357A
29         select EXCLUDE_NATIVE_SD_INTERFACE
30         select INTEL_GMA_HAVE_VBT
31         select MAINBOARD_NO_FSP_GOP
32         select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
34 config BOARD_GOOGLE_CAROLINE
35         select BOARD_GOOGLE_BASEBOARD_GLADOS
36         select CHROMEOS_WIFI_SAR if CHROMEOS
37         select INTEL_GMA_HAVE_VBT
38         select MAINBOARD_NO_FSP_GOP
39         select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
41 config BOARD_GOOGLE_CAVE
42         select BOARD_GOOGLE_BASEBOARD_GLADOS
43         select DRIVERS_GENERIC_MAX98357A
44         select INTEL_GMA_HAVE_VBT
45         select MAINBOARD_NO_FSP_GOP
46         select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
48 config BOARD_GOOGLE_CHELL
49         select BOARD_GOOGLE_BASEBOARD_GLADOS
50         select INTEL_GMA_HAVE_VBT
51         select MAINBOARD_NO_FSP_GOP
52         select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
54 config BOARD_GOOGLE_GLADOS
55         select BOARD_GOOGLE_BASEBOARD_GLADOS
56         select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
57         select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
59 config BOARD_GOOGLE_LARS
60         select BOARD_GOOGLE_BASEBOARD_GLADOS
61         select DRIVERS_GENERIC_MAX98357A
62         select EXCLUDE_NATIVE_SD_INTERFACE
63         select INTEL_GMA_HAVE_VBT
64         select MAINBOARD_NO_FSP_GOP
65         select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
67 config BOARD_GOOGLE_SENTRY
68         select BOARD_GOOGLE_BASEBOARD_GLADOS
69         select DRIVERS_GENERIC_MAX98357A
70         select INTEL_GMA_HAVE_VBT
71         select MAINBOARD_NO_FSP_GOP
72         select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
73         select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
74         select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
76 if BOARD_GOOGLE_BASEBOARD_GLADOS
78 config CHROMEOS_WIFI_SAR
79         bool "Enable SAR options for ChromeOS build"
80         depends on CHROMEOS
81         select DSAR_ENABLE
82         select SAR_ENABLE
83         select USE_SAR
85 config DISABLE_HECI1_AT_PRE_BOOT
86         default y
88 config VBOOT
89         select EC_GOOGLE_CHROMEEC_SWITCHES
90         select VBOOT_LID_SWITCH
92 config MAINBOARD_DIR
93         default "google/glados"
95 config MAINBOARD_PART_NUMBER
96         default "Asuka" if BOARD_GOOGLE_ASUKA
97         default "Caroline" if BOARD_GOOGLE_CAROLINE
98         default "Cave" if BOARD_GOOGLE_CAVE
99         default "Chell" if BOARD_GOOGLE_CHELL
100         default "Glados" if BOARD_GOOGLE_GLADOS
101         default "Lars" if BOARD_GOOGLE_LARS
102         default "Sentry" if BOARD_GOOGLE_SENTRY
104 config MAINBOARD_FAMILY
105         string
106         default "Google_Glados"
108 config VARIANT_DIR
109         default "asuka" if BOARD_GOOGLE_ASUKA
110         default "caroline" if BOARD_GOOGLE_CAROLINE
111         default "cave" if BOARD_GOOGLE_CAVE
112         default "chell" if BOARD_GOOGLE_CHELL
113         default "glados" if BOARD_GOOGLE_GLADOS
114         default "lars" if BOARD_GOOGLE_LARS
115         default "sentry" if BOARD_GOOGLE_SENTRY
117 config OVERRIDE_DEVICETREE
118         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
120 config INCLUDE_NHLT_BLOBS
121         bool "Include blobs for audio."
122         select NHLT_DMIC_2CH
123         select NHLT_NAU88L25
125 config UART_FOR_CONSOLE
126         int
127         default 2
129 config CONSOLE_SERIAL
130         bool
131         default n
133 config USE_PM_ACPI_TIMER
134         default n
136 endif