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 | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 10 | |
| 11 | config BOARD_GOOGLE_BASEBOARD_REX |
| 12 | def_bool n |
| 13 | select BOARD_GOOGLE_REX_COMMON |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 14 | select EC_GOOGLE_CHROMEEC |
| 15 | select EC_GOOGLE_CHROMEEC_ESPI |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 16 | select MAINBOARD_HAS_CHROMEOS |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 17 | select MEMORY_SOLDERDOWN |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 18 | select SOC_INTEL_METEORLAKE |
| 19 | select SYSTEM_TYPE_LAPTOP |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame^] | 20 | select TI50_FIRMWARE_VERSION_NOT_SUPPORTED |
| 21 | select TPM_GOOGLE_TI50 |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 22 | |
| 23 | config BOARD_GOOGLE_REX0 |
| 24 | select BOARD_GOOGLE_BASEBOARD_REX |
| 25 | |
| 26 | if BOARD_GOOGLE_REX_COMMON |
| 27 | |
| 28 | config BASEBOARD_DIR |
| 29 | string |
| 30 | default "rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 31 | |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 32 | config CHROMEOS |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 33 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 34 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 35 | select VBOOT_LID_SWITCH |
| 36 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 37 | config DEVICETREE |
| 38 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 39 | |
| 40 | config MAINBOARD_DIR |
| 41 | default "google/rex" |
| 42 | |
| 43 | config MAINBOARD_FAMILY |
| 44 | string |
| 45 | default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 46 | |
| 47 | config MAINBOARD_PART_NUMBER |
| 48 | default "Rex" if BOARD_GOOGLE_REX0 |
| 49 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 50 | config VARIANT_DIR |
| 51 | string |
| 52 | default "rex0" if BOARD_GOOGLE_REX0 |
| 53 | |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 54 | config DIMM_SPD_SIZE |
| 55 | default 512 |
| 56 | |
| 57 | config MEMORY_SOLDERDOWN |
| 58 | def_bool n |
| 59 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 60 | select HAVE_SPD_IN_CBFS |
| 61 | |
Subrata Banik | f9a179a | 2022-07-12 10:15:22 +0000 | [diff] [blame] | 62 | config UART_FOR_CONSOLE |
| 63 | int |
| 64 | default 0 |
| 65 | |
Subrata Banik | f095862 | 2022-07-12 07:58:10 +0000 | [diff] [blame] | 66 | config OVERRIDE_DEVICETREE |
| 67 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 68 | |
Kapil Porwal | 381c219 | 2022-07-20 14:22:41 +0000 | [diff] [blame^] | 69 | config DRIVER_TPM_I2C_BUS |
| 70 | hex |
| 71 | default 0x4 if BOARD_GOOGLE_REX0 |
| 72 | |
| 73 | config DRIVER_TPM_I2C_ADDR |
| 74 | hex |
| 75 | default 0x50 |
| 76 | |
| 77 | config TPM_TIS_ACPI_INTERRUPT |
| 78 | int |
| 79 | default 35 # GPE0_DW1_03 (GPP_E03) |
| 80 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 81 | endif # BOARD_GOOGLE_REX_COMMON |