Martin Roth | 41a8997 | 2024-02-16 10:57:31 -0700 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 3 | config BOARD_GOOGLE_BROX_COMMON |
| 4 | def_bool n |
| 5 | select DRIVERS_GENERIC_GPIO_KEYS |
| 6 | select DRIVERS_I2C_GENERIC |
| 7 | select DRIVERS_I2C_HID |
| 8 | select DRIVERS_INTEL_DPTF |
| 9 | select DRIVERS_INTEL_DPTF_SUPPORTS_TPCH |
| 10 | select DRIVERS_INTEL_PMC |
| 11 | select DRIVERS_INTEL_SOUNDWIRE |
| 12 | select DRIVERS_INTEL_USB4_RETIMER |
| 13 | select DRIVERS_SPI_ACPI |
| 14 | select DRIVERS_WIFI_GENERIC |
| 15 | select EC_GOOGLE_CHROMEEC |
| 16 | select EC_GOOGLE_CHROMEEC_BOARDID |
| 17 | select EC_GOOGLE_CHROMEEC_ESPI |
| 18 | select EC_GOOGLE_CHROMEEC_SKUID |
| 19 | select ENABLE_TCSS_USB_DETECTION if !CHROMEOS |
| 20 | select FW_CONFIG |
| 21 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
| 22 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
| 23 | select HAVE_ACPI_RESUME |
| 24 | select HAVE_ACPI_TABLES |
| 25 | select HAVE_FSP_LOGO_SUPPORT if RUN_FSP_GOP |
| 26 | select I2C_TPM |
| 27 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 28 | select MAINBOARD_HAS_CHROMEOS |
| 29 | select MAINBOARD_HAS_TPM2 |
| 30 | select PMC_IPC_ACPI_INTERFACE |
| 31 | select SOC_INTEL_CSE_LITE_SKU |
| 32 | # select SOC_INTEL_CSE_SEND_EOP_ASYNC |
| 33 | select SOC_INTEL_COMMON_BLOCK_USB4 |
| 34 | select SOC_INTEL_COMMON_BLOCK_TCSS |
| 35 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 36 | select SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE |
| 37 | select SOC_INTEL_CRASHLOG |
| 38 | select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V1 |
| 39 | |
| 40 | config BOARD_GOOGLE_BASEBOARD_BROX |
| 41 | def_bool n |
| 42 | select BOARD_GOOGLE_BROX_COMMON |
| 43 | select BOARD_ROMSIZE_KB_32768 |
| 44 | select DRIVERS_AUDIO_SOF |
| 45 | select DRIVERS_GFX_GENERIC |
| 46 | select HAVE_SLP_S0_GATE |
| 47 | select MEMORY_SOLDERDOWN |
| 48 | select SOC_INTEL_COMMON_BLOCK_IPU |
| 49 | select SOC_INTEL_CRASHLOG |
| 50 | select SOC_INTEL_RAPTORLAKE |
Shelley Chen | 4927271 | 2023-10-25 18:49:13 -0700 | [diff] [blame] | 51 | select SOC_INTEL_ALDERLAKE_PCH_P |
Poornima Tom | d5bcfe1 | 2023-12-22 05:34:31 +0530 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
Ivy Jian | 1397fd3 | 2023-11-28 15:17:40 +0800 | [diff] [blame] | 53 | select DRIVERS_INTEL_ISH |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 54 | select SYSTEM_TYPE_LAPTOP |
Shelley Chen | 7e775cf | 2023-11-14 12:58:55 -0800 | [diff] [blame] | 55 | select TPM_GOOGLE_TI50 |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 56 | |
| 57 | config BOARD_GOOGLE_BROX |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 58 | select BOARD_GOOGLE_BASEBOARD_BROX |
Shelley Chen | 7e0f9ed | 2024-01-18 16:14:51 -0800 | [diff] [blame] | 59 | select CHROMEOS_WIFI_SAR if CHROMEOS |
Ashish Kumar Mishra | ebc6f9d | 2024-03-13 18:11:04 +0530 | [diff] [blame^] | 60 | select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 61 | |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 62 | config BOARD_GOOGLE_BROX_EC_ISH |
| 63 | select BOARD_GOOGLE_BASEBOARD_BROX |
| 64 | select CHROMEOS_WIFI_SAR if CHROMEOS |
| 65 | select SOC_INTEL_STORE_ISH_FW_VERSION |
| 66 | |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 67 | if BOARD_GOOGLE_BROX_COMMON |
| 68 | |
| 69 | config BASEBOARD_DIR |
| 70 | string |
| 71 | default "brox" if BOARD_GOOGLE_BASEBOARD_BROX |
| 72 | |
| 73 | config CHROMEOS |
| 74 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Shelley Chen | b6053bc | 2023-12-14 19:48:18 -0800 | [diff] [blame] | 75 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 76 | select HAS_RECOVERY_MRC_CACHE |
| 77 | |
| 78 | config CHROMEOS_WIFI_SAR |
| 79 | bool "Enable SAR options for ChromeOS build" |
| 80 | depends on CHROMEOS |
| 81 | select DSAR_ENABLE |
| 82 | select GEO_SAR_ENABLE |
| 83 | select SAR_ENABLE |
| 84 | select USE_SAR |
| 85 | |
| 86 | config DEVICETREE |
| 87 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 88 | |
| 89 | config DRIVER_TPM_I2C_BUS |
| 90 | hex |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 91 | default 0x4 if BOARD_GOOGLE_BASEBOARD_BROX |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 92 | |
| 93 | config DRIVER_TPM_I2C_ADDR |
| 94 | hex |
| 95 | default 0x50 |
| 96 | |
| 97 | config FMDFILE |
| 98 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS |
| 99 | |
| 100 | config TPM_TIS_ACPI_INTERRUPT |
| 101 | int |
Shelley Chen | ea9248e | 2023-11-13 10:02:28 -0800 | [diff] [blame] | 102 | default 66 # GPE0_DW2_02 (GPP_E2) |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 103 | |
| 104 | config OVERRIDE_DEVICETREE |
| 105 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 106 | |
| 107 | config MAINBOARD_DIR |
| 108 | default "google/brox" |
| 109 | |
| 110 | config MAINBOARD_FAMILY |
| 111 | string |
| 112 | default "Google_Brox" if BOARD_GOOGLE_BASEBOARD_BROX |
| 113 | |
| 114 | config MAINBOARD_PART_NUMBER |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 115 | default "Brox_Ec_Ish" if BOARD_GOOGLE_BROX_EC_ISH |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 116 | default "Brox" if BOARD_GOOGLE_BROX |
| 117 | |
| 118 | config VARIANT_DIR |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 119 | default "brox" if BOARD_GOOGLE_BROX || BOARD_GOOGLE_BROX_EC_ISH |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 120 | |
| 121 | config VBOOT |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 122 | select VBOOT_LID_SWITCH |
| 123 | |
| 124 | config DIMM_SPD_SIZE |
| 125 | default 512 |
| 126 | |
| 127 | config UART_FOR_CONSOLE |
| 128 | int |
| 129 | default 0 |
| 130 | |
| 131 | config HAVE_WWAN_POWER_SEQUENCE |
| 132 | def_bool n |
| 133 | help |
| 134 | Select this if the variant has a WWAN module and requires the poweroff sequence |
| 135 | to be performed on shutdown. Must define WWAN_FCPO, WWAN_RST and WWAN_PERST GPIOs |
| 136 | in variant.h, as well as T1_OFF_MS (time between PERST & RST) and T2_OFF_MS (time |
| 137 | between RST and FCPO). WWAN_PERST and T1_OFF_MS are only necessary for PCIe WWAN |
| 138 | (when HAVE_PCIE_WWAN is also selected). |
| 139 | |
| 140 | config HAVE_PCIE_WWAN |
| 141 | def_bool n |
| 142 | |
| 143 | config USE_PM_ACPI_TIMER |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 144 | default n |
| 145 | |
| 146 | config MEMORY_SODIMM |
| 147 | def_bool n |
| 148 | select SPD_CACHE_ENABLE |
| 149 | select SPD_CACHE_IN_FMAP |
| 150 | |
| 151 | config MEMORY_SOLDERDOWN |
| 152 | def_bool n |
| 153 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 154 | select HAVE_SPD_IN_CBFS |
| 155 | |
| 156 | config HAVE_SLP_S0_GATE |
| 157 | def_bool n |
| 158 | |
| 159 | config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS |
| 160 | int |
| 161 | default 33 |
| 162 | |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 163 | endif # BOARD_GOOGLE_BROX_COMMON |