Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 3 | config BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 4 | def_bool n |
| 5 | |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 6 | config BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 7 | def_bool n |
| 8 | |
| 9 | config BOARD_GOOGLE_BERKNIP |
| 10 | select BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 11 | |
Felix Singer | 88ab310 | 2023-05-08 19:36:46 +0200 | [diff] [blame] | 12 | config BOARD_GOOGLE_DALBOZ |
| 13 | select BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 14 | |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 15 | config BOARD_GOOGLE_DIRINBOZ |
| 16 | select BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 17 | |
| 18 | config BOARD_GOOGLE_EZKINIL |
| 19 | select BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 20 | |
| 21 | config BOARD_GOOGLE_GUMBOZ |
| 22 | select BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 23 | |
| 24 | config BOARD_GOOGLE_MORPHIUS |
| 25 | select BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 26 | |
| 27 | config BOARD_GOOGLE_SHUBOZ |
| 28 | select BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 29 | |
| 30 | config BOARD_GOOGLE_TREMBYLE |
| 31 | select BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 32 | |
Felix Singer | 88ab310 | 2023-05-08 19:36:46 +0200 | [diff] [blame] | 33 | config BOARD_GOOGLE_VILBOZ |
| 34 | select BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 35 | select DRIVERS_I2C_SX9324 |
| 36 | select DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER |
| 37 | |
Felix Singer | 88ab310 | 2023-05-08 19:36:46 +0200 | [diff] [blame] | 38 | config BOARD_GOOGLE_WOOMAX |
| 39 | select BOARD_GOOGLE_BASEBOARD_TREMBYLE |
| 40 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 41 | if BOARD_GOOGLE_BASEBOARD_TREMBYLE || BOARD_GOOGLE_BASEBOARD_DALBOZ |
| 42 | |
| 43 | config BOARD_SPECIFIC_OPTIONS |
| 44 | def_bool y |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 45 | select AMD_FWM_POSITION_E20000_DEFAULT |
| 46 | select AMD_SOC_CONSOLE_UART |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 47 | select BOARD_ROMSIZE_KB_16384 |
| 48 | select DISABLE_SPI_FLASH_ROM_SHARING |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 49 | select DRIVERS_AMD_I2S_MACHINE_DEV |
Frank Wu | fe4c6b8 | 2021-03-19 17:06:40 +0800 | [diff] [blame] | 50 | select DRIVERS_GENERIC_ALC1015 |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 51 | select DRIVERS_GENERIC_BAYHUB_LV2 |
| 52 | select DRIVERS_GENERIC_GPIO_KEYS |
| 53 | select DRIVERS_GENERIC_MAX98357A |
| 54 | select DRIVERS_UART_ACPI |
| 55 | select DRIVERS_USB_ACPI |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 56 | select DRIVERS_I2C_GENERIC |
| 57 | select DRIVERS_I2C_HID |
| 58 | select EC_GOOGLE_CHROMEEC |
Furquan Shaikh | e284bff | 2020-07-02 16:03:06 -0700 | [diff] [blame] | 59 | select EC_GOOGLE_CHROMEEC_AUDIO_CODEC |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 60 | select EC_GOOGLE_CHROMEEC_BOARDID |
| 61 | select EC_GOOGLE_CHROMEEC_ESPI |
| 62 | select EC_GOOGLE_CHROMEEC_I2C_TUNNEL |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 63 | select EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 64 | select EC_GOOGLE_CHROMEEC_SKUID |
Furquan Shaikh | b5d98667 | 2020-06-12 16:47:45 -0700 | [diff] [blame] | 65 | select ELOG |
| 66 | select ELOG_BOOT_COUNT |
| 67 | select ELOG_GSMI |
Frank Wu | d12d24b | 2021-03-19 16:47:00 +0800 | [diff] [blame] | 68 | select FW_CONFIG |
| 69 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 70 | select GFXUMA |
| 71 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 72 | select HAVE_ACPI_RESUME |
| 73 | select HAVE_EM100_SUPPORT |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 74 | select I2C_TPM |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 75 | select MAINBOARD_HAS_CHROMEOS |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 76 | select MAINBOARD_HAS_TPM2 |
| 77 | select PCIEXP_ASPM |
| 78 | select PCIEXP_CLK_PM |
| 79 | select PCIEXP_COMMON_CLOCK |
| 80 | select PCIEXP_L1_SUB_STATE |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 81 | select SOC_AMD_COMMON_BLOCK_ACPI_DPTC if BOARD_GOOGLE_MORPHIUS |
| 82 | select SOC_AMD_COMMON_BLOCK_USE_ESPI |
| 83 | select SOC_AMD_COMMON_BLOCK_GRAPHICS_ATIF |
| 84 | select SOC_AMD_PICASSO |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 85 | select SYSTEM_TYPE_LAPTOP |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 86 | select TPM_GOOGLE_CR50 |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 87 | |
Furquan Shaikh | b5d98667 | 2020-06-12 16:47:45 -0700 | [diff] [blame] | 88 | config ELOG_BOOT_COUNT_CMOS_OFFSET |
| 89 | int |
| 90 | default 144 |
| 91 | |
Furquan Shaikh | 46399b5 | 2020-06-05 08:59:08 -0700 | [diff] [blame] | 92 | # FMDFILE is set here so that coreboot build picks up this flash map layout |
| 93 | # even when CHROMEOS is not selected when building upstream. |
| 94 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 95 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" |
Furquan Shaikh | 46399b5 | 2020-06-05 08:59:08 -0700 | [diff] [blame] | 96 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 97 | config MAINBOARD_DIR |
Patrick Georgi | 3588d7b | 2020-06-17 17:47:40 +0200 | [diff] [blame] | 98 | default "google/zork" |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 99 | |
| 100 | config VARIANT_DIR |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 101 | default "berknip" if BOARD_GOOGLE_BERKNIP |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 102 | default "dalboz" if BOARD_GOOGLE_DALBOZ |
| 103 | default "dirinboz" if BOARD_GOOGLE_DIRINBOZ |
| 104 | default "ezkinil" if BOARD_GOOGLE_EZKINIL |
| 105 | default "gumboz" if BOARD_GOOGLE_GUMBOZ |
| 106 | default "morphius" if BOARD_GOOGLE_MORPHIUS |
| 107 | default "shuboz" if BOARD_GOOGLE_SHUBOZ |
| 108 | default "trembyle" if BOARD_GOOGLE_TREMBYLE |
Peichao Wang | c618701 | 2020-05-28 10:02:40 +0800 | [diff] [blame] | 109 | default "vilboz" if BOARD_GOOGLE_VILBOZ |
Kane Chen | 411a6ab | 2020-06-22 17:13:37 +0800 | [diff] [blame] | 110 | default "woomax" if BOARD_GOOGLE_WOOMAX |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 111 | |
| 112 | config MAINBOARD_PART_NUMBER |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 113 | default "Berknip" if BOARD_GOOGLE_BERKNIP |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 114 | default "Dalboz" if BOARD_GOOGLE_DALBOZ |
| 115 | default "Dirinboz" if BOARD_GOOGLE_DIRINBOZ |
| 116 | default "Ezkinil" if BOARD_GOOGLE_EZKINIL |
| 117 | default "Gumboz" if BOARD_GOOGLE_GUMBOZ |
| 118 | default "Morphius" if BOARD_GOOGLE_MORPHIUS |
| 119 | default "Shuboz" if BOARD_GOOGLE_SHUBOZ |
| 120 | default "Trembyle" if BOARD_GOOGLE_TREMBYLE |
Peichao Wang | c618701 | 2020-05-28 10:02:40 +0800 | [diff] [blame] | 121 | default "Vilboz" if BOARD_GOOGLE_VILBOZ |
Kane Chen | 411a6ab | 2020-06-22 17:13:37 +0800 | [diff] [blame] | 122 | default "Woomax" if BOARD_GOOGLE_WOOMAX |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 123 | |
Kyösti Mälkki | 40f0daf | 2022-12-20 00:24:46 +0200 | [diff] [blame] | 124 | config BASEBOARD_DIR |
| 125 | string |
Kyösti Mälkki | 40f0daf | 2022-12-20 00:24:46 +0200 | [diff] [blame] | 126 | default "dalboz" if BOARD_GOOGLE_BASEBOARD_DALBOZ |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 127 | default "trembyle" if BOARD_GOOGLE_BASEBOARD_TREMBYLE |
Kyösti Mälkki | 40f0daf | 2022-12-20 00:24:46 +0200 | [diff] [blame] | 128 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 129 | config DEVICETREE |
Kyösti Mälkki | 40f0daf | 2022-12-20 00:24:46 +0200 | [diff] [blame] | 130 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 131 | |
| 132 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 133 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 134 | |
| 135 | config MAINBOARD_FAMILY |
| 136 | string |
| 137 | default "Google_Zork" |
| 138 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 139 | config ONBOARD_VGA_IS_PRIMARY |
| 140 | bool |
| 141 | default y |
| 142 | |
Angel Pons | 06b20ce | 2021-03-08 11:44:19 +0100 | [diff] [blame] | 143 | config VGA_BIOS |
| 144 | default y if USE_AMD_BLOBS |
| 145 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 146 | config VBOOT |
Matt DeVillier | 6f57321 | 2022-11-17 14:17:52 -0600 | [diff] [blame] | 147 | bool |
| 148 | # selected by default as PSP verstage required for booting at present time |
| 149 | default y |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 150 | select EC_GOOGLE_CHROMEEC_SWITCHES |
| 151 | select VBOOT_LID_SWITCH |
Martin Roth | 560c11e | 2020-11-12 10:33:43 -0700 | [diff] [blame] | 152 | select VBOOT_STARTS_BEFORE_BOOTBLOCK |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 153 | |
| 154 | config VBOOT_VBNV_OFFSET |
| 155 | hex |
| 156 | default 0x2A |
| 157 | |
| 158 | config CHROMEOS |
| 159 | # Use default libpayload config |
| 160 | select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE |
| 161 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 162 | config DRIVER_TPM_I2C_BUS |
| 163 | hex |
| 164 | default 0x03 |
| 165 | |
| 166 | config DRIVER_TPM_I2C_ADDR |
| 167 | hex |
| 168 | default 0x50 |
| 169 | |
Grzegorz Bernacki | a0bd3e9 | 2023-05-29 11:53:38 +0000 | [diff] [blame] | 170 | config GSC_IRQ_GPIO |
| 171 | int |
| 172 | default 3 |
| 173 | |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 174 | config VARIANT_SUPPORTS_PRE_V3_SCHEMATICS |
| 175 | bool |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 176 | default y if BOARD_GOOGLE_BERKNIP |
| 177 | default y if BOARD_GOOGLE_DALBOZ |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 178 | default y if BOARD_GOOGLE_EZKINIL |
| 179 | default y if BOARD_GOOGLE_MORPHIUS |
| 180 | default y if BOARD_GOOGLE_TREMBYLE |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 181 | default n |
| 182 | help |
| 183 | Whether this variant supports pre-v3 version of schematics. |
| 184 | Eventually, when a variant moves to a point where it no |
| 185 | longer has to support pre-v3 schematics, `default y` entry |
| 186 | for it can be dropped. |
| 187 | |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 188 | config VARIANT_SUPPORTS_PRE_V3_6_SCHEMATICS |
| 189 | bool |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 190 | default y if BOARD_GOOGLE_BERKNIP |
| 191 | default y if BOARD_GOOGLE_DALBOZ |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 192 | default y if BOARD_GOOGLE_DIRINBOZ |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 193 | default y if BOARD_GOOGLE_EZKINIL |
| 194 | default y if BOARD_GOOGLE_MORPHIUS |
| 195 | default y if BOARD_GOOGLE_TREMBYLE |
| 196 | default y if BOARD_GOOGLE_VILBOZ |
| 197 | default y if BOARD_GOOGLE_WOOMAX |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 198 | default n |
| 199 | |
| 200 | config VARIANT_MIN_BOARD_ID_V3_6_SCHEMATICS |
| 201 | int |
| 202 | depends on VARIANT_SUPPORTS_PRE_V3_6_SCHEMATICS |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 203 | default 3 if BOARD_GOOGLE_BERKNIP |
| 204 | default 3 if BOARD_GOOGLE_DALBOZ |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 205 | default 2 if BOARD_GOOGLE_DIRINBOZ |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 206 | default 3 if BOARD_GOOGLE_EZKINIL |
| 207 | default 4 if BOARD_GOOGLE_MORPHIUS |
| 208 | default 4 if BOARD_GOOGLE_TREMBYLE |
| 209 | default 2 if BOARD_GOOGLE_VILBOZ |
| 210 | default 1 if BOARD_GOOGLE_WOOMAX |
Josie Nordrum | c759e5e | 2020-08-03 11:05:14 -0600 | [diff] [blame] | 211 | default 256 |
| 212 | help |
| 213 | Minimum board version where the variant starts supporting |
| 214 | v3.6+ version of reference schematics. |
| 215 | |
Furquan Shaikh | 996fdc0 | 2020-06-18 01:00:38 -0700 | [diff] [blame] | 216 | config VARIANT_MIN_BOARD_ID_V3_SCHEMATICS |
| 217 | int |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 218 | depends on VARIANT_SUPPORTS_PRE_V3_SCHEMATICS |
Furquan Shaikh | 996fdc0 | 2020-06-18 01:00:38 -0700 | [diff] [blame] | 219 | default 2 if BOARD_GOOGLE_BERKNIP |
| 220 | default 3 if BOARD_GOOGLE_DALBOZ |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 221 | default 3 if BOARD_GOOGLE_EZKINIL |
| 222 | default 3 if BOARD_GOOGLE_MORPHIUS |
| 223 | default 4 if BOARD_GOOGLE_TREMBYLE |
Furquan Shaikh | 70b7fa1 | 2020-06-29 11:56:04 -0700 | [diff] [blame] | 224 | default 256 |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 225 | help |
| 226 | Minimum board version where the variant starts supporting |
| 227 | v3 version of reference schematics. |
| 228 | |
| 229 | config VARIANT_SUPPORTS_WIFI_POWER_ACTIVE_HIGH |
| 230 | bool |
| 231 | default y if VARIANT_SUPPORTS_PRE_V3_SCHEMATICS |
| 232 | default y if BOARD_GOOGLE_BERKNIP |
| 233 | default y if BOARD_GOOGLE_VILBOZ |
Kane Chen | 411a6ab | 2020-06-22 17:13:37 +0800 | [diff] [blame] | 234 | default y if BOARD_GOOGLE_WOOMAX |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 235 | default n |
| 236 | help |
| 237 | Whether this variant supports active high power enable for |
| 238 | WiFi. For pre-v3 schematics, this is always true. There are |
| 239 | some variants which used v3 schematics, but did not pick up |
| 240 | the change for active low WiFi power enable. Those variants |
| 241 | will have to set this config to true. Eventually, when a |
| 242 | variant needs to only support v3 schematics with active low |
| 243 | power enable for WiFi, `default y` entry for it can be |
| 244 | dropped. |
Furquan Shaikh | 70b7fa1 | 2020-06-29 11:56:04 -0700 | [diff] [blame] | 245 | |
| 246 | config VARIANT_MIN_BOARD_ID_WIFI_POWER_ACTIVE_LOW |
| 247 | int |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 248 | depends on VARIANT_SUPPORTS_WIFI_POWER_ACTIVE_HIGH |
Furquan Shaikh | 70b7fa1 | 2020-06-29 11:56:04 -0700 | [diff] [blame] | 249 | default 3 if BOARD_GOOGLE_BERKNIP |
Peichao Wang | 1114b20 | 2020-07-07 11:50:30 +0800 | [diff] [blame] | 250 | default 2 if BOARD_GOOGLE_VILBOZ |
Kane Chen | 411a6ab | 2020-06-22 17:13:37 +0800 | [diff] [blame] | 251 | default 1 if BOARD_GOOGLE_WOOMAX |
Furquan Shaikh | 70b7fa1 | 2020-06-29 11:56:04 -0700 | [diff] [blame] | 252 | default VARIANT_MIN_BOARD_ID_V3_SCHEMATICS |
Furquan Shaikh | 30ee0d8 | 2020-07-07 12:50:55 -0700 | [diff] [blame] | 253 | help |
| 254 | Minimum board version where the variant starts supporting |
| 255 | active low power enable for WiFi. |
Furquan Shaikh | 996fdc0 | 2020-06-18 01:00:38 -0700 | [diff] [blame] | 256 | |
Martin Roth | 726504a | 2020-10-30 16:41:32 -0600 | [diff] [blame] | 257 | config VARIANT_HAS_FPMCU |
| 258 | bool |
| 259 | default y if BOARD_GOOGLE_BERKNIP |
| 260 | default y if BOARD_GOOGLE_MORPHIUS |
| 261 | default n |
| 262 | help |
| 263 | Select y if any SKU of the board has a fingerprint sensor |
| 264 | |
| 265 | config VARIANT_MAX_BOARD_ID_BROKEN_FMPCU_POWER |
| 266 | int |
Martin Roth | 726504a | 2020-10-30 16:41:32 -0600 | [diff] [blame] | 267 | default 3 if BOARD_GOOGLE_BERKNIP |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 268 | default 4 if BOARD_GOOGLE_MORPHIUS |
Martin Roth | 726504a | 2020-10-30 16:41:32 -0600 | [diff] [blame] | 269 | default 0 |
| 270 | help |
| 271 | Last board version that needs the extra delay for FPMCU init. |
| 272 | |
Martin Roth | dd6c733 | 2021-08-09 10:39:27 -0600 | [diff] [blame] | 273 | if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig |
Matt Papageorge | 95c42c3 | 2020-07-08 11:33:48 -0500 | [diff] [blame] | 274 | config EFS_SPI_READ_MODE |
Martin Roth | dd6c733 | 2021-08-09 10:39:27 -0600 | [diff] [blame] | 275 | default 4 # Dual IO (1-2-2) |
Matt Papageorge | 95c42c3 | 2020-07-08 11:33:48 -0500 | [diff] [blame] | 276 | |
| 277 | config EFS_SPI_SPEED |
Martin Roth | dd6c733 | 2021-08-09 10:39:27 -0600 | [diff] [blame] | 278 | default 0 # 66MHz |
Matt Papageorge | 95c42c3 | 2020-07-08 11:33:48 -0500 | [diff] [blame] | 279 | |
| 280 | config EFS_SPI_MICRON_FLAG |
Matt Papageorge | 95c42c3 | 2020-07-08 11:33:48 -0500 | [diff] [blame] | 281 | default 0 |
| 282 | |
Martin Roth | dd6c733 | 2021-08-09 10:39:27 -0600 | [diff] [blame] | 283 | config NORMAL_READ_SPI_SPEED |
| 284 | default 1 # 33MHz |
| 285 | |
| 286 | config ALT_SPI_SPEED |
| 287 | default 0 # 66MHz |
| 288 | |
| 289 | config TPM_SPI_SPEED |
| 290 | default 0 # 66MHz |
| 291 | |
| 292 | endif # !EM100 |
| 293 | |
Kevin Chiu | 638172b | 2020-08-20 18:12:10 +0800 | [diff] [blame] | 294 | config CHROMEOS_WIFI_SAR |
| 295 | bool |
| 296 | default y if CHROMEOS |
Aaron Durbin | 48697fe | 2020-08-26 08:44:06 -0600 | [diff] [blame] | 297 | select DRIVERS_WIFI_GENERIC |
Kevin Chiu | 638172b | 2020-08-20 18:12:10 +0800 | [diff] [blame] | 298 | select DSAR_ENABLE |
Matt DeVillier | d5008a2e | 2023-10-27 13:09:33 -0500 | [diff] [blame^] | 299 | select GEO_SAR_ENABLE |
Kevin Chiu | 638172b | 2020-08-20 18:12:10 +0800 | [diff] [blame] | 300 | select SAR_ENABLE |
| 301 | select USE_SAR |
Kevin Chiu | 638172b | 2020-08-20 18:12:10 +0800 | [diff] [blame] | 302 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 303 | endif # BOARD_GOOGLE_BASEBOARD_TREMBYLE || BOARD_GOOGLE_BASEBOARD_DALBOZ |