mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / sarien / Kconfig
blob8dab0e0a82011b4b4dcf4d0e9af7b818001d535d
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_SARIEN
4         def_bool n
5         select BOARD_ROMSIZE_KB_32768
6         select DRIVERS_GENERIC_BH720
7         select DRIVERS_I2C_GENERIC
8         select DRIVERS_I2C_HID
9         select DRIVERS_SPI_ACPI
10         select DRIVERS_USB_ACPI
11         select EC_GOOGLE_WILCO
12         select GOOGLE_SMBIOS_MAINBOARD_VERSION
13         select HAVE_ACPI_RESUME
14         select HAVE_ACPI_TABLES
15         select I2C_TPM
16         select INTEL_GMA_HAVE_VBT
17         select INTEL_LPSS_UART_FOR_CONSOLE
18         select MAINBOARD_HAS_CHROMEOS
19         select MAINBOARD_HAS_TPM2
20         select MAINBOARD_USES_IFD_EC_REGION
21         select SMBIOS_SERIAL_FROM_VPD if VPD
22         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
23         select SOC_INTEL_COMMON_BLOCK_SMM_ESPI_DISABLE
24         select SOC_INTEL_WHISKEYLAKE
25         select SPD_READ_BY_WORD
26         select TPM_GOOGLE_CR50
28 config BOARD_GOOGLE_ARCADA
29         select BOARD_GOOGLE_BASEBOARD_SARIEN
30         select DRIVERS_INTEL_ISH
31         select SYSTEM_TYPE_CONVERTIBLE
33 config BOARD_GOOGLE_SARIEN
34         select BOARD_GOOGLE_BASEBOARD_SARIEN
35         select MAINBOARD_USES_IFD_GBE_REGION
36         select SYSTEM_TYPE_LAPTOP
38 if BOARD_GOOGLE_BASEBOARD_SARIEN
40 config CHROMEOS_WIFI_SAR
41         bool "Enable SAR options for ChromeOS build"
42         depends on CHROMEOS
43         default y if CHROMEOS
44         select SAR_ENABLE
45         select USE_SAR
47 config DISABLE_HECI1_AT_PRE_BOOT
48         default y
50 config CHROMEOS
51         select GBB_FLAG_FORCE_DEV_SWITCH_ON
52         select GBB_FLAG_FORCE_DEV_BOOT_USB
53         select GBB_FLAG_FORCE_DEV_BOOT_ALTFW
54         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
56 config DIMM_MAX
57         default 2
59 config DRIVER_TPM_I2C_BUS
60         hex
61         default 0x4
63 config DRIVER_TPM_I2C_ADDR
64         hex
65         default 0x50
67 config TPM_TIS_ACPI_INTERRUPT
68         int
69         default 82  # GPE0_DW2_18 (GPP_D18)
71 config POWER_OFF_ON_CR50_UPDATE
72         bool
73         default n
75 config MAINBOARD_DIR
76         default "google/sarien"
78 config MAINBOARD_FAMILY
79         string
80         default "Google_Arcada" if BOARD_GOOGLE_ARCADA
81         default "Google_Sarien" if BOARD_GOOGLE_SARIEN
83 config MAINBOARD_PART_NUMBER
84         default "Arcada" if BOARD_GOOGLE_ARCADA
85         default "Sarien" if BOARD_GOOGLE_SARIEN
87 config MAX_CPUS
88         int
89         default 8
91 config UART_FOR_CONSOLE
92         int
93         default 2
95 config VARIANT_DIR
96         default "arcada" if BOARD_GOOGLE_ARCADA
97         default "sarien" if BOARD_GOOGLE_SARIEN
99 config DEVICETREE
100         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
102 config VBOOT
103         select HAS_RECOVERY_MRC_CACHE
104         select VBOOT_LID_SWITCH
106 # Override the default variant behavior, since the data.vbt is the same
107 # for all variants.
108 config INTEL_GMA_VBT_FILE
109         default "src/mainboard/\$(MAINBOARDDIR)/data.vbt"
111 config FMDFILE
112         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS
114 endif # BOARD_GOOGLE_BASEBOARD_SARIEN