mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / fatcat / Kconfig
blobf47e5a518d6b697b4e134f7d6bdc808fcaa0a6f3
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_SOUNDWIRE_ALC722
13         select DRIVERS_SPI_ACPI
14         select DUMP_SMBIOS_TYPE17
15         select EC_ACPI
16         select EC_GOOGLE_CHROMEEC
17         select EC_GOOGLE_CHROMEEC_BOARDID
18         select EC_GOOGLE_CHROMEEC_ESPI
19         select EC_GOOGLE_CHROMEEC_SKUID
20         select FW_CONFIG
21         select FW_CONFIG_SOURCE_CHROMEEC_CBI
22         select GENERATE_SMBIOS_TABLES
23         select GOOGLE_SMBIOS_MAINBOARD_VERSION
24         select HAVE_ACPI_RESUME
25         select HAVE_ACPI_TABLES
26         select HAVE_SPD_IN_CBFS
27         select I2C_TPM
28         select INTEL_LPSS_UART_FOR_CONSOLE
29         select MAINBOARD_DISABLE_STAGE_CACHE
30         select MAINBOARD_HAS_TPM2
31         select MB_COMPRESS_RAMSTAGE_LZ4
32         select PMC_IPC_ACPI_INTERFACE
33         select SOC_INTEL_CSE_LITE_SKU
34         select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2
35         select SOC_INTEL_CSE_SEND_EOP_ASYNC
36         select SOC_INTEL_PANTHERLAKE_U_H
37         select SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
39 config BOARD_GOOGLE_BASEBOARD_FATCAT
40         def_bool n
41         select BOARD_GOOGLE_FATCAT_COMMON
42         select CHROMEOS_WIFI_SAR if CHROMEOS
43         select DRIVERS_INTEL_USB4_RETIMER
44         select HAVE_SLP_S0_GATE
45         select MAINBOARD_HAS_CHROMEOS
46         select MEMORY_SOLDERDOWN
47         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
48         select SOC_INTEL_IOE_DIE_SUPPORT
49         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
50         select SYSTEM_TYPE_LAPTOP
51         select TPM_GOOGLE_TI50
53 config BOARD_GOOGLE_MODEL_FATCAT
54         def_bool n
55         select BOARD_GOOGLE_BASEBOARD_FATCAT
57 config BOARD_GOOGLE_FATCAT
58         select BOARD_GOOGLE_MODEL_FATCAT
59         select EC_GOOGLE_CHROMEEC_MEC
60         select MAINBOARD_USES_IFD_EC_REGION
62 config BOARD_GOOGLE_FATCATNUVO
63         select BOARD_GOOGLE_MODEL_FATCAT
65 config BOARD_GOOGLE_FATCATITE
66         select BOARD_GOOGLE_MODEL_FATCAT
68 config BOARD_GOOGLE_FRANCKA
69         select BOARD_GOOGLE_MODEL_FATCAT
71 if BOARD_GOOGLE_FATCAT_COMMON
73 config BASEBOARD_DIR
74         string
75         default "fatcat"
77 config CHROMEOS
78         select EC_GOOGLE_CHROMEEC_SWITCHES
79         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
80         select GBB_FLAG_FORCE_DEV_BOOT_USB
81         select GBB_FLAG_FORCE_MANUAL_RECOVERY
82         select HAS_RECOVERY_MRC_CACHE
84 config CHROMEOS_WIFI_SAR
85         bool "Enable SAR options for ChromeOS build"
86         depends on CHROMEOS
87         select DSAR_ENABLE
88         select GEO_SAR_ENABLE
89         select SAR_ENABLE
90         select USE_SAR
92 config DEVICETREE
93         default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
95 config DIMM_SPD_SIZE
96         default 512
98 config DRIVER_TPM_I2C_ADDR
99         hex
100         default 0x50
102 config DRIVER_TPM_I2C_BUS
103         hex
104         default 0x03
106 config FMDFILE
107         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP
108         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
110 config HAVE_SLP_S0_GATE
111         def_bool n
113 config MAINBOARD_DIR
114         default "google/fatcat"
116 config MAINBOARD_FAMILY
117         string
118         default "Google_Fatcat"
120 config MAINBOARD_PART_NUMBER
121         default "Fatcat" if BOARD_GOOGLE_FATCAT
122         default "Fatcatite" if BOARD_GOOGLE_FATCATITE
123         default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
124         default "Francka" if BOARD_GOOGLE_FRANCKA
126 config MEMORY_SOLDERDOWN
127         def_bool n
128         select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
129         select HAVE_SPD_IN_CBFS
131 config TPM_TIS_ACPI_INTERRUPT
132         int
133         default 47   # GPE0_DW1_15 (GPP_D15)
135 # FIXME: update as per board schematics
136 config UART_FOR_CONSOLE
137         int
138         default 0
140 config USE_PM_ACPI_TIMER
141         default n
143 config VARIANT_DIR
144         string
145         default "fatcat" if BOARD_GOOGLE_MODEL_FATCAT
147 config OVERRIDE_DEVICETREE
148         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
150 config VBOOT
151         select VBOOT_LID_SWITCH
153 endif # BOARD_GOOGLE_FATCAT_COMMON