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 |
Eran Mitrani | 51249d6 | 2022-08-19 15:39:47 -0700 | [diff] [blame] | 4 | select DRIVERS_GENERIC_MAX98357A |
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 |
Subrata Banik | ea708cd | 2022-10-24 20:53:43 +0530 | [diff] [blame] | 7 | select DRIVERS_INTEL_USB4_RETIMER |
Eran Mitrani | 51249d6 | 2022-08-19 15:39:47 -0700 | [diff] [blame] | 8 | select DRIVERS_SOUNDWIRE_ALC5682 |
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 |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 18 | select HAVE_ACPI_RESUME |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 19 | select HAVE_ACPI_TABLES |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 20 | select I2C_TPM |
Subrata Banik | abc59fb | 2022-06-27 18:43:57 +0530 | [diff] [blame] | 21 | select INTEL_LPSS_UART_FOR_CONSOLE |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 22 | select MAINBOARD_HAS_TPM2 |
Subrata Banik | 1bc4bb7 | 2022-07-29 20:57:05 +0000 | [diff] [blame] | 23 | select SOC_INTEL_CSE_LITE_SKU |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 24 | |
| 25 | config BOARD_GOOGLE_BASEBOARD_REX |
| 26 | def_bool n |
| 27 | select BOARD_GOOGLE_REX_COMMON |
Subrata Banik | a920772 | 2022-08-08 15:06:04 +0000 | [diff] [blame] | 28 | select DRIVERS_INTEL_PMC |
Ivy Jian | 61e5816 | 2022-09-05 14:30:11 +0800 | [diff] [blame] | 29 | select DRIVERS_WWAN_FM350GL |
zhaojohn | 1d903a2 | 2022-09-20 08:18:45 -0700 | [diff] [blame^] | 30 | select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 31 | select MAINBOARD_HAS_CHROMEOS |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 32 | select MEMORY_SOLDERDOWN |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 33 | select SOC_INTEL_METEORLAKE |
zhaojohn | ff69f5c | 2022-09-22 17:03:35 -0700 | [diff] [blame] | 34 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 35 | select SYSTEM_TYPE_LAPTOP |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 36 | select TPM_GOOGLE_TI50 |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 37 | |
| 38 | config BOARD_GOOGLE_REX0 |
| 39 | select BOARD_GOOGLE_BASEBOARD_REX |
| 40 | |
| 41 | if BOARD_GOOGLE_REX_COMMON |
| 42 | |
| 43 | config BASEBOARD_DIR |
| 44 | string |
| 45 | default "rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 46 | |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 47 | config CHROMEOS |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 48 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 49 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 50 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 51 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 52 | select HAS_RECOVERY_MRC_CACHE |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 53 | |
Subrata Banik | 8d70cf7 | 2022-10-13 10:19:04 +0530 | [diff] [blame] | 54 | config CHROMEOS_WIFI_SAR |
| 55 | bool "Enable SAR options for ChromeOS build" |
| 56 | depends on CHROMEOS |
| 57 | select DSAR_ENABLE |
| 58 | select GEO_SAR_ENABLE |
| 59 | select SAR_ENABLE |
| 60 | select USE_SAR |
| 61 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 62 | config DEVICETREE |
| 63 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 64 | |
| 65 | config MAINBOARD_DIR |
| 66 | default "google/rex" |
| 67 | |
| 68 | config MAINBOARD_FAMILY |
| 69 | string |
| 70 | default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 71 | |
| 72 | config MAINBOARD_PART_NUMBER |
| 73 | default "Rex" if BOARD_GOOGLE_REX0 |
| 74 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 75 | config VARIANT_DIR |
| 76 | string |
| 77 | default "rex0" if BOARD_GOOGLE_REX0 |
| 78 | |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 79 | config DIMM_SPD_SIZE |
| 80 | default 512 |
| 81 | |
| 82 | config MEMORY_SOLDERDOWN |
| 83 | def_bool n |
| 84 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 85 | select HAVE_SPD_IN_CBFS |
| 86 | |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 87 | config VBOOT |
Subrata Banik | 0d3e3f5 | 2022-09-25 13:49:12 +0530 | [diff] [blame] | 88 | select VBOOT_EARLY_EC_SYNC |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 89 | select VBOOT_LID_SWITCH |
| 90 | |
Subrata Banik | f9a179a | 2022-07-12 10:15:22 +0000 | [diff] [blame] | 91 | config UART_FOR_CONSOLE |
| 92 | int |
| 93 | default 0 |
| 94 | |
Subrata Banik | f095862 | 2022-07-12 07:58:10 +0000 | [diff] [blame] | 95 | config OVERRIDE_DEVICETREE |
| 96 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 97 | |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 98 | config DRIVER_TPM_I2C_BUS |
| 99 | hex |
| 100 | default 0x4 if BOARD_GOOGLE_REX0 |
| 101 | |
| 102 | config DRIVER_TPM_I2C_ADDR |
| 103 | hex |
| 104 | default 0x50 |
| 105 | |
| 106 | config TPM_TIS_ACPI_INTERRUPT |
| 107 | int |
| 108 | default 35 # GPE0_DW1_03 (GPP_E03) |
| 109 | |
Subrata Banik | 20c64a1 | 2022-11-16 14:07:43 +0530 | [diff] [blame] | 110 | config USE_PM_ACPI_TIMER |
| 111 | default n |
| 112 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 113 | endif # BOARD_GOOGLE_REX_COMMON |