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