1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_FATCAT_COMMON
5 select BOARD_ROMSIZE_KB_32768
6 select DRIVERS_I2C_GENERIC
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
17 select EC_GOOGLE_CHROMEEC
18 select EC_GOOGLE_CHROMEEC_BOARDID
19 select EC_GOOGLE_CHROMEEC_ESPI
20 select EC_GOOGLE_CHROMEEC_SKUID
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
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
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
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
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"
99 default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
104 config DRIVER_TPM_I2C_ADDR
108 config DRIVER_TPM_I2C_BUS
110 default 0x03 if BOARD_GOOGLE_MODEL_FATCAT
111 default 0x01 if BOARD_GOOGLE_FRANCKA
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
121 default "google/fatcat"
123 config MAINBOARD_FAMILY
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
136 select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS
137 select HAVE_SPD_IN_CBFS
139 config TPM_TIS_ACPI_INTERRUPT
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
150 config USE_PM_ACPI_TIMER
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"
163 select VBOOT_LID_SWITCH
165 endif # BOARD_GOOGLE_FATCAT_COMMON