soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / fatcat / Kconfig
blob1851cdee4ab537b7ca8e6d7573209f115e83a544
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_FATCAT_COMMON
4         def_bool n
5         select BOARD_ROMSIZE_KB_32768
6         select DRIVERS_I2C_GENERIC
7         select DRIVERS_I2C_HID
8         select DRIVERS_INTEL_MIPI_CAMERA
9         select DRIVERS_INTEL_PMC
10         select DRIVERS_INTEL_SOUNDWIRE
11         select DRIVERS_WWAN_FM350GL
12         select DRIVERS_AUDIO_SOF
13         select DRIVERS_SOUNDWIRE_ALC722
14         select DRIVERS_SPI_ACPI
15         select DUMP_SMBIOS_TYPE17
16         select EC_ACPI
17         select EC_GOOGLE_CHROMEEC
18         select EC_GOOGLE_CHROMEEC_BOARDID
19         select EC_GOOGLE_CHROMEEC_ESPI
20         select EC_GOOGLE_CHROMEEC_SKUID
21         select FW_CONFIG
22         select FW_CONFIG_SOURCE_CHROMEEC_CBI
23         select GENERATE_SMBIOS_TABLES
24         select GOOGLE_SMBIOS_MAINBOARD_VERSION
25         select HAVE_ACPI_RESUME
26         select HAVE_ACPI_TABLES
27         select HAVE_SPD_IN_CBFS
28         select I2C_TPM
29         select INTEL_LPSS_UART_FOR_CONSOLE
30         select MAINBOARD_DISABLE_STAGE_CACHE
31         select MAINBOARD_HAS_TPM2
32         select MB_COMPRESS_RAMSTAGE_LZ4
33         select PMC_IPC_ACPI_INTERFACE
34         select SOC_INTEL_CSE_LITE_SKU
35         select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2
36         select SOC_INTEL_CSE_SEND_EOP_ASYNC
37         select SOC_INTEL_PANTHERLAKE_U_H
38         select SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
40 config BOARD_GOOGLE_BASEBOARD_FATCAT
41         def_bool n
42         select BOARD_GOOGLE_FATCAT_COMMON
43         select CHROMEOS_WIFI_SAR if CHROMEOS
44         select DRIVERS_INTEL_ISH
45         select DRIVERS_INTEL_USB4_RETIMER
46         select HAVE_SLP_S0_GATE
47         select MAINBOARD_HAS_CHROMEOS
48         select MEMORY_SOLDERDOWN
49         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
50         select SOC_INTEL_IOE_DIE_SUPPORT
51         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
52         select SYSTEM_TYPE_LAPTOP
53         select TPM_GOOGLE_TI50
55 config BOARD_GOOGLE_MODEL_FATCAT
56         def_bool n
57         select BOARD_GOOGLE_BASEBOARD_FATCAT
58         select DRIVERS_GENERIC_MAX98357A
60 config BOARD_GOOGLE_FATCAT
61         select BOARD_GOOGLE_MODEL_FATCAT
62         select EC_GOOGLE_CHROMEEC_MEC
63         select MAINBOARD_USES_IFD_EC_REGION
65 config BOARD_GOOGLE_FATCATNUVO
66         select BOARD_GOOGLE_MODEL_FATCAT
68 config BOARD_GOOGLE_FATCATITE
69         select BOARD_GOOGLE_MODEL_FATCAT
71 config BOARD_GOOGLE_FELINO
72         select BOARD_GOOGLE_MODEL_FATCAT
74 config BOARD_GOOGLE_FRANCKA
75         select BOARD_GOOGLE_BASEBOARD_FATCAT
77 if BOARD_GOOGLE_FATCAT_COMMON
79 config BASEBOARD_DIR
80         string
81         default "fatcat"
83 config CHROMEOS
84         select EC_GOOGLE_CHROMEEC_SWITCHES
85         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
86         select GBB_FLAG_FORCE_DEV_BOOT_USB
87         select GBB_FLAG_FORCE_MANUAL_RECOVERY
88         select HAS_RECOVERY_MRC_CACHE
90 config CHROMEOS_WIFI_SAR
91         bool "Enable SAR options for ChromeOS build"
92         depends on CHROMEOS
93         select DSAR_ENABLE
94         select GEO_SAR_ENABLE
95         select SAR_ENABLE
96         select USE_SAR
98 config DEVICETREE
99         default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
101 config DIMM_SPD_SIZE
102         default 512
104 config DRIVER_TPM_I2C_ADDR
105         hex
106         default 0x50
108 config DRIVER_TPM_I2C_BUS
109         hex
110         default 0x03 if BOARD_GOOGLE_MODEL_FATCAT
111         default 0x01 if BOARD_GOOGLE_FRANCKA
113 config FMDFILE
114         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP
115         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
117 config HAVE_SLP_S0_GATE
118         def_bool n
120 config MAINBOARD_DIR
121         default "google/fatcat"
123 config MAINBOARD_FAMILY
124         string
125         default "Google_Fatcat"
127 config MAINBOARD_PART_NUMBER
128         default "Fatcat" if BOARD_GOOGLE_FATCAT
129         default "Fatcatite" if BOARD_GOOGLE_FATCATITE
130         default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
131         default "Francka" if BOARD_GOOGLE_FRANCKA
132         default "Felino" if BOARD_GOOGLE_FELINO
134 config MEMORY_SOLDERDOWN
135         def_bool n
136         select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
137         select HAVE_SPD_IN_CBFS
139 config TPM_TIS_ACPI_INTERRUPT
140         int
141         default 47 if BOARD_GOOGLE_MODEL_FATCAT # GPE0_DW1_15 (GPP_D15)
142         default 79 if BOARD_GOOGLE_FELINO # GPE0_DW2_15 (GPP_F15)
143         default 11 if BOARD_GOOGLE_FRANCKA # GPE0_DW0_11 (GPP_H11)
145 # FIXME: update as per board schematics
146 config UART_FOR_CONSOLE
147         int
148         default 0
150 config USE_PM_ACPI_TIMER
151         default n
153 config VARIANT_DIR
154         string
155         default "fatcat" if BOARD_GOOGLE_MODEL_FATCAT
156         default "francka" if BOARD_GOOGLE_FRANCKA
157         default "felino" if BOARD_GOOGLE_FELINO
159 config OVERRIDE_DEVICETREE
160         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
162 config VBOOT
163         select VBOOT_LID_SWITCH
165 endif # BOARD_GOOGLE_FATCAT_COMMON