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 | |
Eren Peng | 45145ba | 2024-04-01 11:12:02 +0800 | [diff] [blame^] | 67 | config BOARD_GOOGLE_GREENBAYUPOC |
| 68 | select BOARD_GOOGLE_BASEBOARD_BROX |
| 69 | |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 70 | if BOARD_GOOGLE_BROX_COMMON |
| 71 | |
| 72 | config BASEBOARD_DIR |
| 73 | string |
| 74 | default "brox" if BOARD_GOOGLE_BASEBOARD_BROX |
| 75 | |
| 76 | config CHROMEOS |
| 77 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Shelley Chen | b6053bc | 2023-12-14 19:48:18 -0800 | [diff] [blame] | 78 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 79 | select HAS_RECOVERY_MRC_CACHE |
| 80 | |
| 81 | config CHROMEOS_WIFI_SAR |
| 82 | bool "Enable SAR options for ChromeOS build" |
| 83 | depends on CHROMEOS |
| 84 | select DSAR_ENABLE |
| 85 | select GEO_SAR_ENABLE |
| 86 | select SAR_ENABLE |
| 87 | select USE_SAR |
| 88 | |
| 89 | config DEVICETREE |
| 90 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 91 | |
| 92 | config DRIVER_TPM_I2C_BUS |
| 93 | hex |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 94 | default 0x4 if BOARD_GOOGLE_BASEBOARD_BROX |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 95 | |
| 96 | config DRIVER_TPM_I2C_ADDR |
| 97 | hex |
| 98 | default 0x50 |
| 99 | |
| 100 | config FMDFILE |
| 101 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS |
| 102 | |
| 103 | config TPM_TIS_ACPI_INTERRUPT |
| 104 | int |
Shelley Chen | ea9248e | 2023-11-13 10:02:28 -0800 | [diff] [blame] | 105 | default 66 # GPE0_DW2_02 (GPP_E2) |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 106 | |
| 107 | config OVERRIDE_DEVICETREE |
| 108 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 109 | |
| 110 | config MAINBOARD_DIR |
| 111 | default "google/brox" |
| 112 | |
| 113 | config MAINBOARD_FAMILY |
| 114 | string |
| 115 | default "Google_Brox" if BOARD_GOOGLE_BASEBOARD_BROX |
| 116 | |
| 117 | config MAINBOARD_PART_NUMBER |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 118 | default "Brox_Ec_Ish" if BOARD_GOOGLE_BROX_EC_ISH |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 119 | default "Brox" if BOARD_GOOGLE_BROX |
Eren Peng | 45145ba | 2024-04-01 11:12:02 +0800 | [diff] [blame^] | 120 | default "Greenbayupoc" if BOARD_GOOGLE_GREENBAYUPOC |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 121 | |
| 122 | config VARIANT_DIR |
Yuval Peress | 3ac72f8 | 2024-02-28 21:15:04 -0700 | [diff] [blame] | 123 | default "brox" if BOARD_GOOGLE_BROX || BOARD_GOOGLE_BROX_EC_ISH |
Eren Peng | 45145ba | 2024-04-01 11:12:02 +0800 | [diff] [blame^] | 124 | default "greenbayupoc" if BOARD_GOOGLE_GREENBAYUPOC |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 125 | |
| 126 | config VBOOT |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 127 | select VBOOT_LID_SWITCH |
| 128 | |
| 129 | config DIMM_SPD_SIZE |
| 130 | default 512 |
| 131 | |
| 132 | config UART_FOR_CONSOLE |
| 133 | int |
| 134 | default 0 |
| 135 | |
| 136 | config HAVE_WWAN_POWER_SEQUENCE |
| 137 | def_bool n |
| 138 | help |
| 139 | Select this if the variant has a WWAN module and requires the poweroff sequence |
| 140 | to be performed on shutdown. Must define WWAN_FCPO, WWAN_RST and WWAN_PERST GPIOs |
| 141 | in variant.h, as well as T1_OFF_MS (time between PERST & RST) and T2_OFF_MS (time |
| 142 | between RST and FCPO). WWAN_PERST and T1_OFF_MS are only necessary for PCIe WWAN |
| 143 | (when HAVE_PCIE_WWAN is also selected). |
| 144 | |
| 145 | config HAVE_PCIE_WWAN |
| 146 | def_bool n |
| 147 | |
| 148 | config USE_PM_ACPI_TIMER |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 149 | default n |
| 150 | |
| 151 | config MEMORY_SODIMM |
| 152 | def_bool n |
| 153 | select SPD_CACHE_ENABLE |
| 154 | select SPD_CACHE_IN_FMAP |
| 155 | |
| 156 | config MEMORY_SOLDERDOWN |
| 157 | def_bool n |
| 158 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 159 | select HAVE_SPD_IN_CBFS |
| 160 | |
| 161 | config HAVE_SLP_S0_GATE |
| 162 | def_bool n |
| 163 | |
| 164 | config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS |
| 165 | int |
| 166 | default 33 |
| 167 | |
Shelley Chen | 9b230ae | 2023-09-15 16:01:31 -0700 | [diff] [blame] | 168 | endif # BOARD_GOOGLE_BROX_COMMON |