Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 1 | config BOARD_GOOGLE_REX_COMMON |
| 2 | def_bool n |
| 3 | select BOARD_ROMSIZE_KB_32768 |
Tarun Tuli | d00048f | 2022-07-20 12:35:11 -0400 | [diff] [blame] | 4 | select EC_GOOGLE_CHROMEEC_BOARDID |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 5 | select HAVE_ACPI_RESUME |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 6 | select HAVE_ACPI_TABLES |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 7 | select I2C_TPM |
Subrata Banik | abc59fb | 2022-06-27 18:43:57 +0530 | [diff] [blame] | 8 | select INTEL_LPSS_UART_FOR_CONSOLE |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 9 | select MAINBOARD_HAS_TPM2 |
Subrata Banik | 1bc4bb7 | 2022-07-29 20:57:05 +0000 | [diff] [blame^] | 10 | select SOC_INTEL_CSE_LITE_SKU |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 11 | |
| 12 | config BOARD_GOOGLE_BASEBOARD_REX |
| 13 | def_bool n |
| 14 | select BOARD_GOOGLE_REX_COMMON |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 15 | select EC_GOOGLE_CHROMEEC |
| 16 | select EC_GOOGLE_CHROMEEC_ESPI |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 17 | select MAINBOARD_HAS_CHROMEOS |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 18 | select MEMORY_SOLDERDOWN |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 19 | select SOC_INTEL_METEORLAKE |
| 20 | select SYSTEM_TYPE_LAPTOP |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 21 | select TI50_FIRMWARE_VERSION_NOT_SUPPORTED |
| 22 | select TPM_GOOGLE_TI50 |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 23 | |
| 24 | config BOARD_GOOGLE_REX0 |
| 25 | select BOARD_GOOGLE_BASEBOARD_REX |
| 26 | |
| 27 | if BOARD_GOOGLE_REX_COMMON |
| 28 | |
| 29 | config BASEBOARD_DIR |
| 30 | string |
| 31 | default "rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 32 | |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 33 | config CHROMEOS |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 34 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 35 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 36 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 37 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 38 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 39 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 40 | select HAS_RECOVERY_MRC_CACHE |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 41 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 42 | config DEVICETREE |
| 43 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 44 | |
| 45 | config MAINBOARD_DIR |
| 46 | default "google/rex" |
| 47 | |
| 48 | config MAINBOARD_FAMILY |
| 49 | string |
| 50 | default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 51 | |
| 52 | config MAINBOARD_PART_NUMBER |
| 53 | default "Rex" if BOARD_GOOGLE_REX0 |
| 54 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 55 | config VARIANT_DIR |
| 56 | string |
| 57 | default "rex0" if BOARD_GOOGLE_REX0 |
| 58 | |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 59 | config DIMM_SPD_SIZE |
| 60 | default 512 |
| 61 | |
| 62 | config MEMORY_SOLDERDOWN |
| 63 | def_bool n |
| 64 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 65 | select HAVE_SPD_IN_CBFS |
| 66 | |
Subrata Banik | 684d00d | 2022-07-20 12:15:49 +0000 | [diff] [blame] | 67 | config VBOOT |
| 68 | select VBOOT_LID_SWITCH |
| 69 | |
Subrata Banik | f9a179a | 2022-07-12 10:15:22 +0000 | [diff] [blame] | 70 | config UART_FOR_CONSOLE |
| 71 | int |
| 72 | default 0 |
| 73 | |
Subrata Banik | f095862 | 2022-07-12 07:58:10 +0000 | [diff] [blame] | 74 | config OVERRIDE_DEVICETREE |
| 75 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 76 | |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame] | 77 | config DRIVER_TPM_I2C_BUS |
| 78 | hex |
| 79 | default 0x4 if BOARD_GOOGLE_REX0 |
| 80 | |
| 81 | config DRIVER_TPM_I2C_ADDR |
| 82 | hex |
| 83 | default 0x50 |
| 84 | |
| 85 | config TPM_TIS_ACPI_INTERRUPT |
| 86 | int |
| 87 | default 35 # GPE0_DW1_03 (GPP_E03) |
| 88 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 89 | endif # BOARD_GOOGLE_REX_COMMON |