Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 1 | config BOARD_GOOGLE_REX_COMMON |
| 2 | def_bool n |
Subrata Banik | 9122d67 | 2022-09-16 09:40:46 -0700 | [diff] [blame] | 3 | select BOARD_ROMSIZE_KB_32768 |
Won Chung | 728399d | 2023-04-10 22:08:53 +0000 | [diff] [blame] | 4 | select DRIVERS_GFX_GENERIC |
Kapil Porwal | 53105a5 | 2022-09-08 22:52:49 -0700 | [diff] [blame] | 5 | select DRIVERS_I2C_GENERIC |
Subrata Banik | e8097f7 | 2022-09-15 00:17:20 -0700 | [diff] [blame] | 6 | select DRIVERS_I2C_HID |
zhaojohn | 92d49da | 2022-12-16 09:27:19 -0800 | [diff] [blame] | 7 | select DRIVERS_INTEL_DPTF |
Subrata Banik | ea708cd | 2022-10-24 20:53:43 +0530 | [diff] [blame] | 8 | select DRIVERS_INTEL_USB4_RETIMER |
Subrata Banik | fa317d5 | 2022-09-14 17:58:02 -0700 | [diff] [blame] | 9 | select DRIVERS_WIFI_GENERIC |
Daniel Kang | 84656e1 | 2022-08-22 22:20:25 -0700 | [diff] [blame] | 10 | select DRIVERS_INTEL_MIPI_CAMERA |
Eran Mitrani | b4d71e1 | 2022-08-23 14:42:24 -0700 | [diff] [blame] | 11 | select DRIVERS_SPI_ACPI |
Eran Mitrani | 814dded | 2022-08-15 17:06:37 -0700 | [diff] [blame] | 12 | select EC_GOOGLE_CHROMEEC |
Tarun Tuli | d00048f | 2022-07-20 12:35:11 -0400 | [diff] [blame] | 13 | select EC_GOOGLE_CHROMEEC_BOARDID |
Eran Mitrani | 814dded | 2022-08-15 17:06:37 -0700 | [diff] [blame] | 14 | select EC_GOOGLE_CHROMEEC_ESPI |
| 15 | select EC_GOOGLE_CHROMEEC_SKUID |
Eran Mitrani | ef9cde1 | 2022-08-16 16:11:13 -0700 | [diff] [blame] | 16 | select FW_CONFIG |
| 17 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
Jay Patel | 252e7c5 | 2023-03-26 20:25:39 -0700 | [diff] [blame] | 18 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 19 | select HAVE_ACPI_RESUME |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 20 | select HAVE_ACPI_TABLES |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 21 | select I2C_TPM |
Subrata Banik | abc59fb | 2022-06-27 18:43:57 +0530 | [diff] [blame] | 22 | select INTEL_LPSS_UART_FOR_CONSOLE |
Subrata Banik | 114f87b | 2023-01-06 16:04:09 +0530 | [diff] [blame] | 23 | select MAINBOARD_DISABLE_STAGE_CACHE |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 24 | select MAINBOARD_HAS_TPM2 |
Wonkyu Kim | 6d6831e | 2023-06-12 16:44:07 -0700 | [diff] [blame] | 25 | select MB_COMPRESS_RAMSTAGE_LZ4 |
Subrata Banik | b052683 | 2022-12-26 13:13:56 +0530 | [diff] [blame] | 26 | select PMC_IPC_ACPI_INTERFACE |
Sumeet Pawnikar | 1ff8768 | 2023-04-25 16:24:02 +0530 | [diff] [blame] | 27 | select SOC_INTEL_COMMON_BLOCK_VARIANT_POWER_LIMIT |
Subrata Banik | 1bc4bb7 | 2022-07-29 20:57:05 +0000 | [diff] [blame] | 28 | select SOC_INTEL_CSE_LITE_SKU |
Bora Guvendik | 2453e3b | 2023-03-14 15:49:53 -0700 | [diff] [blame] | 29 | select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY_V2 |
Subrata Banik | 3879334 | 2023-04-19 18:38:03 +0530 | [diff] [blame] | 30 | select SOC_INTEL_CSE_SEND_EOP_ASYNC |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 31 | |
| 32 | config BOARD_GOOGLE_BASEBOARD_REX |
| 33 | def_bool n |
| 34 | select BOARD_GOOGLE_REX_COMMON |
Subrata Banik | a920772 | 2022-08-08 15:06:04 +0000 | [diff] [blame] | 35 | select DRIVERS_INTEL_PMC |
Dinesh Gehlot | 6930b95 | 2023-01-11 06:50:37 +0000 | [diff] [blame] | 36 | select DRIVERS_GENERIC_GPIO_KEYS |
Ivy Jian | 61e5816 | 2022-09-05 14:30:11 +0800 | [diff] [blame] | 37 | select DRIVERS_WWAN_FM350GL |
Subrata Banik | 3bd83b2 | 2023-07-07 16:03:24 +0530 | [diff] [blame] | 38 | select HAVE_FSP_LOGO_SUPPORT if RUN_FSP_GOP |
Subrata Banik | cb32919 | 2022-12-02 00:29:30 +0530 | [diff] [blame] | 39 | select HAVE_SLP_S0_GATE |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 40 | select MAINBOARD_HAS_CHROMEOS |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 41 | select MEMORY_SOLDERDOWN |
Subrata Banik | dc69b15 | 2023-06-27 09:21:37 -0700 | [diff] [blame] | 42 | select SOC_INTEL_IOE_DIE_SUPPORT |
Subrata Banik | 3a183bc | 2023-06-20 20:29:29 +0530 | [diff] [blame] | 43 | select SOC_INTEL_METEORLAKE_U_H |
zhaojohn | ff69f5c | 2022-09-22 17:03:35 -0700 | [diff] [blame] | 44 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 45 | select SYSTEM_TYPE_LAPTOP |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 46 | select TPM_GOOGLE_TI50 |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 47 | |
Subrata Banik | ecb2a84 | 2023-07-19 19:19:41 +0530 | [diff] [blame] | 48 | config BOARD_GOOGLE_MODEL_REX |
| 49 | def_bool n |
| 50 | select BOARD_GOOGLE_BASEBOARD_REX |
| 51 | select DRIVERS_GENERIC_MAX98357A |
| 52 | select DRIVERS_GENESYSLOGIC_GL9755 |
| 53 | select DRIVERS_INTEL_ISH |
| 54 | select DRIVERS_INTEL_SOUNDWIRE |
| 55 | select DRIVERS_SOUNDWIRE_CS42L42 |
| 56 | select DRIVERS_SOUNDWIRE_MAX98363 |
| 57 | |
Subrata Banik | 59a220b | 2023-07-22 20:32:08 +0000 | [diff] [blame] | 58 | config BOARD_GOOGLE_MODEL_SCREEBO |
| 59 | def_bool n |
| 60 | select BOARD_GOOGLE_BASEBOARD_REX |
| 61 | select DRIVERS_GENERIC_ALC1015 |
Kun Liu | 386ef64 | 2023-08-02 20:03:07 +0800 | [diff] [blame^] | 62 | select DRIVERS_GENESYSLOGIC_GL9750 |
Subrata Banik | 59a220b | 2023-07-22 20:32:08 +0000 | [diff] [blame] | 63 | |
Jakub Czapiga | d95d264 | 2023-05-30 08:57:17 +0000 | [diff] [blame] | 64 | config BOARD_GOOGLE_BASEBOARD_OVIS |
| 65 | def_bool n |
| 66 | select BOARD_GOOGLE_REX_COMMON |
| 67 | select DRIVERS_INTEL_PMC |
| 68 | select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP |
| 69 | select HAVE_SLP_S0_GATE |
| 70 | select MAINBOARD_HAS_CHROMEOS |
| 71 | select MEMORY_SOLDERDOWN |
Stefan Reinauer | a9b08f2 | 2023-08-01 12:29:02 -0700 | [diff] [blame] | 72 | select RT8168_GEN_ACPI_POWER_RESOURCE |
| 73 | select RT8168_GET_MAC_FROM_VPD |
| 74 | select RT8168_SET_LED_MODE |
Jakub Czapiga | ddbe832 | 2023-06-27 16:19:34 +0000 | [diff] [blame] | 75 | select SOC_INTEL_IOE_DIE_SUPPORT |
Jakub Czapiga | c1a527a | 2023-06-20 16:58:24 +0000 | [diff] [blame] | 76 | select SOC_INTEL_METEORLAKE_U_H |
Jakub Czapiga | d95d264 | 2023-05-30 08:57:17 +0000 | [diff] [blame] | 77 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 78 | select TPM_GOOGLE_TI50 |
| 79 | |
Jakub Czapiga | 8beaf0f | 2023-07-27 08:48:00 +0000 | [diff] [blame] | 80 | config BOARD_GOOGLE_MODEL_OVIS |
| 81 | def_bool n |
| 82 | select BOARD_GOOGLE_BASEBOARD_OVIS |
| 83 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 84 | if BOARD_GOOGLE_REX_COMMON |
| 85 | |
| 86 | config BASEBOARD_DIR |
| 87 | string |
| 88 | default "rex" if BOARD_GOOGLE_BASEBOARD_REX |
Jakub Czapiga | d95d264 | 2023-05-30 08:57:17 +0000 | [diff] [blame] | 89 | default "ovis" if BOARD_GOOGLE_BASEBOARD_OVIS |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 90 | |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 91 | config CHROMEOS |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 92 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 93 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 94 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 95 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 96 | select HAS_RECOVERY_MRC_CACHE |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 97 | |
Subrata Banik | 8d70cf7 | 2022-10-13 10:19:04 +0530 | [diff] [blame] | 98 | config CHROMEOS_WIFI_SAR |
| 99 | bool "Enable SAR options for ChromeOS build" |
| 100 | depends on CHROMEOS |
| 101 | select DSAR_ENABLE |
| 102 | select GEO_SAR_ENABLE |
| 103 | select SAR_ENABLE |
| 104 | select USE_SAR |
| 105 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 106 | config DEVICETREE |
| 107 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 108 | |
Subrata Banik | 4f9753e | 2023-03-30 21:03:32 +0530 | [diff] [blame] | 109 | config FMDFILE |
Bernardo Perez Priego | f8f4eda | 2023-05-08 17:53:13 -0700 | [diff] [blame] | 110 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos_ec_ish-debug-fsp.fmd" if CHROMEOS && BOARD_GOOGLE_REX_EC_ISH && BUILDING_WITH_DEBUG_FSP |
| 111 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos_ec_ish.fmd" if CHROMEOS && BOARD_GOOGLE_REX_EC_ISH |
Subrata Banik | 4f9753e | 2023-03-30 21:03:32 +0530 | [diff] [blame] | 112 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-debug-fsp.fmd" if CHROMEOS && BUILDING_WITH_DEBUG_FSP |
| 113 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS |
| 114 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 115 | config MAINBOARD_DIR |
| 116 | default "google/rex" |
| 117 | |
| 118 | config MAINBOARD_FAMILY |
| 119 | string |
| 120 | default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX |
Jakub Czapiga | d95d264 | 2023-05-30 08:57:17 +0000 | [diff] [blame] | 121 | default "Google_Ovis" if BOARD_GOOGLE_BASEBOARD_OVIS |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 122 | |
| 123 | config MAINBOARD_PART_NUMBER |
Subrata Banik | ab5ced7 | 2023-07-22 16:40:08 +0530 | [diff] [blame] | 124 | default "Rex" if BOARD_GOOGLE_REX0 |
| 125 | default "Rex_Ec_Ish" if BOARD_GOOGLE_REX_EC_ISH |
| 126 | default "Rex4ES" if BOARD_GOOGLE_REX4ES |
Simon Zhou | 2cf25eb | 2023-04-14 14:21:00 +0800 | [diff] [blame] | 127 | default "Screebo" if BOARD_GOOGLE_SCREEBO |
Subrata Banik | 59a220b | 2023-07-22 20:32:08 +0000 | [diff] [blame] | 128 | default "Screebo4ES" if BOARD_GOOGLE_SCREEBO4ES |
Tyler Wang | 4ce6ef9 | 2023-05-31 17:08:05 +0800 | [diff] [blame] | 129 | default "Karis" if BOARD_GOOGLE_KARIS |
Jakub Czapiga | d95d264 | 2023-05-30 08:57:17 +0000 | [diff] [blame] | 130 | default "Ovis" if BOARD_GOOGLE_OVIS |
Jakub Czapiga | 8beaf0f | 2023-07-27 08:48:00 +0000 | [diff] [blame] | 131 | default "Ovis4ES" if BOARD_GOOGLE_OVIS4ES |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 132 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 133 | config VARIANT_DIR |
| 134 | string |
Subrata Banik | f9419ea | 2023-07-20 09:07:27 +0000 | [diff] [blame] | 135 | default "rex0" if BOARD_GOOGLE_MODEL_REX |
Subrata Banik | 59a220b | 2023-07-22 20:32:08 +0000 | [diff] [blame] | 136 | default "screebo" if BOARD_GOOGLE_MODEL_SCREEBO |
Tyler Wang | 4ce6ef9 | 2023-05-31 17:08:05 +0800 | [diff] [blame] | 137 | default "karis" if BOARD_GOOGLE_KARIS |
Jakub Czapiga | 8beaf0f | 2023-07-27 08:48:00 +0000 | [diff] [blame] | 138 | default "ovis" if BOARD_GOOGLE_MODEL_OVIS |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 139 | |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 140 | config DIMM_SPD_SIZE |
| 141 | default 512 |
| 142 | |
| 143 | config MEMORY_SOLDERDOWN |
| 144 | def_bool n |
| 145 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 146 | select HAVE_SPD_IN_CBFS |
| 147 | |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 148 | config VBOOT |
| 149 | select VBOOT_LID_SWITCH |
| 150 | |
Subrata Banik | f9a179a | 2022-07-12 10:15:22 +0000 | [diff] [blame] | 151 | config UART_FOR_CONSOLE |
| 152 | int |
| 153 | default 0 |
| 154 | |
Subrata Banik | f095862 | 2022-07-12 07:58:10 +0000 | [diff] [blame] | 155 | config OVERRIDE_DEVICETREE |
| 156 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 157 | |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 158 | config DRIVER_TPM_I2C_BUS |
| 159 | hex |
Jakub Czapiga | 8beaf0f | 2023-07-27 08:48:00 +0000 | [diff] [blame] | 160 | default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_MODEL_SCREEBO || BOARD_GOOGLE_MODEL_OVIS |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 161 | |
| 162 | config DRIVER_TPM_I2C_ADDR |
| 163 | hex |
| 164 | default 0x50 |
| 165 | |
| 166 | config TPM_TIS_ACPI_INTERRUPT |
| 167 | int |
| 168 | default 35 # GPE0_DW1_03 (GPP_E03) |
| 169 | |
Subrata Banik | 20c64a1 | 2022-11-16 14:07:43 +0530 | [diff] [blame] | 170 | config USE_PM_ACPI_TIMER |
| 171 | default n |
| 172 | |
Subrata Banik | cb32919 | 2022-12-02 00:29:30 +0530 | [diff] [blame] | 173 | config HAVE_SLP_S0_GATE |
| 174 | def_bool n |
| 175 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 176 | endif # BOARD_GOOGLE_REX_COMMON |