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