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