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 |
Eric Lai | 7a294be | 2022-05-24 09:08:48 +0800 | [diff] [blame] | 4 | select HAVE_ACPI_RESUME |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 5 | select HAVE_ACPI_TABLES |
Subrata Banik | abc59fb | 2022-06-27 18:43:57 +0530 | [diff] [blame^] | 6 | select INTEL_LPSS_UART_FOR_CONSOLE |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 7 | |
| 8 | config BOARD_GOOGLE_BASEBOARD_REX |
| 9 | def_bool n |
| 10 | select BOARD_GOOGLE_REX_COMMON |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 11 | select EC_GOOGLE_CHROMEEC |
| 12 | select EC_GOOGLE_CHROMEEC_ESPI |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 13 | select MAINBOARD_HAS_CHROMEOS |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 14 | select MEMORY_SOLDERDOWN |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 15 | select SOC_INTEL_METEORLAKE |
| 16 | select SYSTEM_TYPE_LAPTOP |
| 17 | |
| 18 | config BOARD_GOOGLE_REX0 |
| 19 | select BOARD_GOOGLE_BASEBOARD_REX |
| 20 | |
| 21 | if BOARD_GOOGLE_REX_COMMON |
| 22 | |
| 23 | config BASEBOARD_DIR |
| 24 | string |
| 25 | default "rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 26 | |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 27 | config CHROMEOS |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 28 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 29 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 30 | select VBOOT_LID_SWITCH |
| 31 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 32 | config DEVICETREE |
| 33 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
| 34 | |
| 35 | config MAINBOARD_DIR |
| 36 | default "google/rex" |
| 37 | |
| 38 | config MAINBOARD_FAMILY |
| 39 | string |
| 40 | default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX |
| 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | default "Rex" if BOARD_GOOGLE_REX0 |
| 44 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 45 | config VARIANT_DIR |
| 46 | string |
| 47 | default "rex0" if BOARD_GOOGLE_REX0 |
| 48 | |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 49 | config DIMM_SPD_SIZE |
| 50 | default 512 |
| 51 | |
| 52 | config MEMORY_SOLDERDOWN |
| 53 | def_bool n |
| 54 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 55 | select HAVE_SPD_IN_CBFS |
| 56 | |
Subrata Banik | ed74337 | 2022-03-21 22:08:37 +0000 | [diff] [blame] | 57 | endif # BOARD_GOOGLE_REX_COMMON |