1 config BOARD_GOOGLE_BRYA_COMMON
3 select DRIVERS_GENERIC_ALC1015
4 select DRIVERS_GENERIC_GPIO_KEYS
5 select DRIVERS_GENERIC_MAX98357A
6 select DRIVERS_I2C_GENERIC
8 select DRIVERS_I2C_NAU8825
9 select DRIVERS_INTEL_DPTF
10 select DRIVERS_INTEL_DPTF_SUPPORTS_TPCH
11 select DRIVERS_INTEL_PMC
12 select DRIVERS_INTEL_SOUNDWIRE
13 select DRIVERS_INTEL_USB4_RETIMER
14 select DRIVERS_SOUNDWIRE_ALC5682
15 select DRIVERS_SOUNDWIRE_MAX98373
16 select DRIVERS_SPI_ACPI
17 select DRIVERS_WIFI_GENERIC
18 select DRIVERS_WWAN_FM350GL
19 select EC_GOOGLE_CHROMEEC
20 select EC_GOOGLE_CHROMEEC_BOARDID
21 select EC_GOOGLE_CHROMEEC_ESPI
22 select EC_GOOGLE_CHROMEEC_SKUID
24 select FW_CONFIG_SOURCE_CHROMEEC_CBI
25 select GOOGLE_SMBIOS_MAINBOARD_VERSION
26 select HAVE_ACPI_RESUME
27 select HAVE_ACPI_TABLES
29 select INTEL_LPSS_UART_FOR_CONSOLE
30 select MAINBOARD_HAS_CHROMEOS
31 select MAINBOARD_HAS_TPM2
32 select PMC_IPC_ACPI_INTERFACE
33 select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3
34 select SOC_INTEL_CSE_LITE_SKU
35 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES if SOC_INTEL_ALDERLAKE_PCH_P
36 select SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE
37 select SOC_INTEL_CRASHLOG
39 config BOARD_GOOGLE_BASEBOARD_BRYA
41 select BOARD_GOOGLE_BRYA_COMMON
42 select BOARD_ROMSIZE_KB_32768
43 select HAVE_SLP_S0_GATE
44 select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE
45 select SOC_INTEL_ALDERLAKE_PCH_P
46 select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
47 select SYSTEM_TYPE_LAPTOP
48 select TPM_GOOGLE_CR50
50 config BOARD_GOOGLE_BASEBOARD_BRASK
52 select BOARD_GOOGLE_BRYA_COMMON
53 select BOARD_ROMSIZE_KB_32768
54 select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP
55 select HAVE_SLP_S0_GATE
57 select RT8168_GEN_ACPI_POWER_RESOURCE
58 select RT8168_GET_MAC_FROM_VPD
59 select RT8168_SET_LED_MODE
60 select SOC_INTEL_ALDERLAKE_PCH_P
61 select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
62 select TPM_GOOGLE_CR50
63 select CR50_RESET_CLEAR_EC_AP_IDLE_FLAG
65 config BOARD_GOOGLE_BASEBOARD_NISSA
67 select BOARD_GOOGLE_BRYA_COMMON
68 select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768
69 select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
70 select DRIVERS_INTEL_ISH
71 select MAINBOARD_DISABLE_STAGE_CACHE
72 select MEMORY_SOLDERDOWN
73 select SOC_INTEL_ALDERLAKE_PCH_N
74 select SOC_INTEL_CSE_LITE_COMPRESS_ME_RW
75 select SOC_INTEL_CSE_LITE_SYNC_IN_RAMSTAGE
76 select SYSTEM_TYPE_LAPTOP
77 select TPM_GOOGLE_TI50
78 select SOC_INTEL_COMMON_MMC_OVERRIDE
80 config BOARD_GOOGLE_BASEBOARD_SKOLAS
82 select BOARD_GOOGLE_BRYA_COMMON
83 select BOARD_ROMSIZE_KB_32768
84 select HAVE_SLP_S0_GATE
85 select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE
86 select SOC_INTEL_ALDERLAKE_PCH_P
87 select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY
88 select SOC_INTEL_RAPTORLAKE
89 select SYSTEM_TYPE_LAPTOP
90 select TPM_GOOGLE_CR50
92 if BOARD_GOOGLE_BRYA_COMMON
96 default "brya" if BOARD_GOOGLE_BASEBOARD_BRYA
97 default "brask" if BOARD_GOOGLE_BASEBOARD_BRASK
98 default "nissa" if BOARD_GOOGLE_BASEBOARD_NISSA
99 default "skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS
102 select EC_GOOGLE_CHROMEEC_SWITCHES
103 select HAS_RECOVERY_MRC_CACHE
105 config CHROMEOS_WIFI_SAR
106 bool "Enable SAR options for ChromeOS build"
109 select GEO_SAR_ENABLE
114 default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
116 config DRIVER_TPM_I2C_BUS
118 default 0x1 if BOARD_GOOGLE_BRYA0
119 default 0x1 if BOARD_GOOGLE_BRASK
120 default 0x1 if BOARD_GOOGLE_PRIMUS
121 default 0x3 if BOARD_GOOGLE_PRIMUS4ES
122 default 0x1 if BOARD_GOOGLE_GIMBLE
123 default 0x3 if BOARD_GOOGLE_GIMBLE4ES
124 default 0x1 if BOARD_GOOGLE_REDRIX
125 default 0x3 if BOARD_GOOGLE_REDRIX4ES
126 default 0x1 if BOARD_GOOGLE_KANO
127 default 0x1 if BOARD_GOOGLE_TAEKO
128 default 0x3 if BOARD_GOOGLE_TAEKO4ES
129 default 0x1 if BOARD_GOOGLE_FELWINTER
130 default 0x1 if BOARD_GOOGLE_ANAHERA
131 default 0x3 if BOARD_GOOGLE_ANAHERA4ES
132 default 0x1 if BOARD_GOOGLE_VELL
133 default 0x1 if BOARD_GOOGLE_TANIKS
134 default 0x0 if BOARD_GOOGLE_NIVVIKS
135 default 0x0 if BOARD_GOOGLE_NEREID
136 default 0x3 if BOARD_GOOGLE_AGAH
137 default 0x1 if BOARD_GOOGLE_VOLMAR
138 default 0x1 if BOARD_GOOGLE_BANSHEE
139 default 0x1 if BOARD_GOOGLE_KINOX
140 default 0x0 if BOARD_GOOGLE_CRAASK
141 default 0x1 if BOARD_GOOGLE_CROTA
142 default 0x1 if BOARD_GOOGLE_MOLI
143 default 0x1 if BOARD_GOOGLE_OSIRIS
144 default 0x1 if BOARD_GOOGLE_MITHRAX
145 default 0x1 if BOARD_GOOGLE_KULDAX
146 default 0x1 if BOARD_GOOGLE_SKOLAS
147 default 0x1 if BOARD_GOOGLE_SKOLAS4ES
148 default 0x0 if BOARD_GOOGLE_JOXER
149 default 0x0 if BOARD_GOOGLE_PUJJO
150 default 0x0 if BOARD_GOOGLE_XIVU
151 default 0x0 if BOARD_GOOGLE_YAVIKS
152 default 0x1 if BOARD_GOOGLE_ZYDRON
153 default 0x1 if BOARD_GOOGLE_LISBON
154 default 0x1 if BOARD_GOOGLE_GLADIOS
155 default 0x1 if BOARD_GOOGLE_MARASOV
156 default 0x1 if BOARD_GOOGLE_GAELIN
157 default 0x1 if BOARD_GOOGLE_OMNIGUL
159 config DRIVER_TPM_I2C_ADDR
164 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-serger.fmd" if CHROMEOS && BOARD_GOOGLE_BRASK
165 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-16MiB-debugfsp.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_16384 && BUILDING_WITH_DEBUG_FSP
166 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-16MiB.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_16384
167 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-32MiB.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_32768
168 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
170 config TPM_TIS_ACPI_INTERRUPT
172 default 13 # GPE0_DW0_13 (GPP_A13_IRQ)
174 config OVERRIDE_DEVICETREE
175 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
178 default "google/brya"
180 config MAINBOARD_FAMILY
182 default "Google_Brya" if BOARD_GOOGLE_BASEBOARD_BRYA
183 default "Google_Brask" if BOARD_GOOGLE_BASEBOARD_BRASK
184 default "Google_Nissa" if BOARD_GOOGLE_BASEBOARD_NISSA
185 default "Google_Skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS
187 config MAINBOARD_PART_NUMBER
188 default "Brya" if BOARD_GOOGLE_BRYA0
189 default "Brask" if BOARD_GOOGLE_BRASK
190 default "Primus" if BOARD_GOOGLE_PRIMUS
191 default "Primus4ES" if BOARD_GOOGLE_PRIMUS4ES
192 default "Gimble" if BOARD_GOOGLE_GIMBLE
193 default "Gimble4ES" if BOARD_GOOGLE_GIMBLE4ES
194 default "Redrix" if BOARD_GOOGLE_REDRIX
195 default "Redrix4ES" if BOARD_GOOGLE_REDRIX4ES
196 default "Kano" if BOARD_GOOGLE_KANO
197 default "Taeko" if BOARD_GOOGLE_TAEKO
198 default "Taeko4ES" if BOARD_GOOGLE_TAEKO4ES
199 default "Felwinter" if BOARD_GOOGLE_FELWINTER
200 default "Anahera" if BOARD_GOOGLE_ANAHERA
201 default "Anahera4ES" if BOARD_GOOGLE_ANAHERA4ES
202 default "Vell" if BOARD_GOOGLE_VELL
203 default "Taniks" if BOARD_GOOGLE_TANIKS
204 default "Nivviks" if BOARD_GOOGLE_NIVVIKS
205 default "Nereid" if BOARD_GOOGLE_NEREID
206 default "Agah" if BOARD_GOOGLE_AGAH
207 default "Volmar" if BOARD_GOOGLE_VOLMAR
208 default "Banshee" if BOARD_GOOGLE_BANSHEE
209 default "Crota" if BOARD_GOOGLE_CROTA
210 default "Moli" if BOARD_GOOGLE_MOLI
211 default "Kinox" if BOARD_GOOGLE_KINOX
212 default "Craask" if BOARD_GOOGLE_CRAASK
213 default "Osiris" if BOARD_GOOGLE_OSIRIS
214 default "Mithrax" if BOARD_GOOGLE_MITHRAX
215 default "Kuldax" if BOARD_GOOGLE_KULDAX
216 default "Skolas" if BOARD_GOOGLE_SKOLAS
217 default "Skolas4ES" if BOARD_GOOGLE_SKOLAS4ES
218 default "Joxer" if BOARD_GOOGLE_JOXER
219 default "Pujjo" if BOARD_GOOGLE_PUJJO
220 default "Xivu" if BOARD_GOOGLE_XIVU
221 default "Gaelin" if BOARD_GOOGLE_GAELIN
222 default "Yaviks" if BOARD_GOOGLE_YAVIKS
223 default "Lisbon" if BOARD_GOOGLE_LISBON
224 default "Zydron" if BOARD_GOOGLE_ZYDRON
225 default "Gladios" if BOARD_GOOGLE_GLADIOS
226 default "Marasov" if BOARD_GOOGLE_MARASOV
227 default "Omnigul" if BOARD_GOOGLE_OMNIGUL
230 default "brya0" if BOARD_GOOGLE_BRYA0
231 default "brask" if BOARD_GOOGLE_BRASK
232 default "primus" if BOARD_GOOGLE_PRIMUS
233 default "primus4es" if BOARD_GOOGLE_PRIMUS4ES
234 default "gimble" if BOARD_GOOGLE_GIMBLE
235 default "gimble4es" if BOARD_GOOGLE_GIMBLE4ES
236 default "redrix" if BOARD_GOOGLE_REDRIX
237 default "redrix4es" if BOARD_GOOGLE_REDRIX4ES
238 default "kano" if BOARD_GOOGLE_KANO
239 default "taeko" if BOARD_GOOGLE_TAEKO
240 default "taeko4es" if BOARD_GOOGLE_TAEKO4ES
241 default "felwinter" if BOARD_GOOGLE_FELWINTER
242 default "anahera" if BOARD_GOOGLE_ANAHERA
243 default "anahera4es" if BOARD_GOOGLE_ANAHERA4ES
244 default "vell" if BOARD_GOOGLE_VELL
245 default "taniks" if BOARD_GOOGLE_TANIKS
246 default "nivviks" if BOARD_GOOGLE_NIVVIKS
247 default "nereid" if BOARD_GOOGLE_NEREID
248 default "agah" if BOARD_GOOGLE_AGAH
249 default "volmar" if BOARD_GOOGLE_VOLMAR
250 default "banshee" if BOARD_GOOGLE_BANSHEE
251 default "crota" if BOARD_GOOGLE_CROTA
252 default "moli" if BOARD_GOOGLE_MOLI
253 default "kinox" if BOARD_GOOGLE_KINOX
254 default "craask" if BOARD_GOOGLE_CRAASK
255 default "osiris" if BOARD_GOOGLE_OSIRIS
256 default "mithrax" if BOARD_GOOGLE_MITHRAX
257 default "kuldax" if BOARD_GOOGLE_KULDAX
258 default "skolas" if BOARD_GOOGLE_SKOLAS
259 default "skolas4es" if BOARD_GOOGLE_SKOLAS4ES
260 default "joxer" if BOARD_GOOGLE_JOXER
261 default "pujjo" if BOARD_GOOGLE_PUJJO
262 default "xivu" if BOARD_GOOGLE_XIVU
263 default "gaelin" if BOARD_GOOGLE_GAELIN
264 default "yaviks" if BOARD_GOOGLE_YAVIKS
265 default "lisbon" if BOARD_GOOGLE_LISBON
266 default "zydron" if BOARD_GOOGLE_ZYDRON
267 default "gladios" if BOARD_GOOGLE_GLADIOS
268 default "marasov" if BOARD_GOOGLE_MARASOV
269 default "omnigul" if BOARD_GOOGLE_OMNIGUL
272 select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA
273 select VBOOT_LID_SWITCH
275 config VBOOT_GSC_BOARD_ID
277 default "LBTV" if BOARD_GOOGLE_JOXER
282 config UART_FOR_CONSOLE
286 config HAVE_WWAN_POWER_SEQUENCE
289 Select this if the variant has a WWAN module and requires the poweroff sequence
290 to be performed on shutdown. Must define WWAN_FCPO, WWAN_RST and WWAN_PERST GPIOs
291 in variant.h, as well as T1_OFF_MS (time between PERST & RST) and T2_OFF_MS (time
292 between RST and FCPO). WWAN_PERST and T1_OFF_MS are only necessary for PCIe WWAN
293 (when HAVE_PCIE_WWAN is also selected).
295 config HAVE_PCIE_WWAN
298 config USE_PM_ACPI_TIMER
299 default y if BOARD_GOOGLE_PRIMUS4ES
302 config DEFAULT_ADL_NEM
305 Brya variants with Alder Lake ESx silicon to choose this config
306 as eNEM was fuse disable till ESx silicon revision.
309 prompt "Cache as RAM (CAR) setup configuration to use"
310 default USE_ADL_NEM if DEFAULT_ADL_NEM
314 bool "eNEM: when selected, the variant will use eNEM instead of regular NEM."
315 select INTEL_CAR_NEM_ENHANCED
318 bool "NEM: when selected, the variant will use regular NEM."
325 select SPD_CACHE_ENABLE
326 select SPD_CACHE_IN_FMAP
328 config MEMORY_SOLDERDOWN
330 select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
331 select HAVE_SPD_IN_CBFS
333 config HAVE_SLP_S0_GATE
336 config INCLUDE_NVIDIA_GPU_ASL
339 Select this if the variant has an Nvidia GN20 GPU attached to PEG1
341 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
345 endif # BOARD_GOOGLE_BRYA_COMMON