Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | config BOARD_GOOGLE_BASEBOARD_MYST |
| 4 | def_bool n |
| 5 | |
| 6 | if BOARD_GOOGLE_BASEBOARD_MYST |
| 7 | |
| 8 | config BOARD_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Jon Murphy | 8e02644 | 2023-03-29 17:08:24 -0600 | [diff] [blame] | 10 | select AMD_SOC_CONSOLE_UART |
Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 11 | select BOARD_ROMSIZE_KB_16384 |
Jon Murphy | 5ae99f8 | 2023-04-06 22:25:21 -0600 | [diff] [blame] | 12 | select DISABLE_KEYBOARD_RESET_PIN |
Jon Murphy | dc818cc | 2023-06-07 21:39:00 -0600 | [diff] [blame] | 13 | select DRIVERS_GENERIC_GPIO_KEYS |
Jon Murphy | 4d8a352 | 2023-03-29 18:22:17 -0600 | [diff] [blame] | 14 | select DRIVERS_I2C_GENERIC |
| 15 | select DRIVERS_I2C_HID |
Jon Murphy | 0f1826e | 2023-03-29 19:07:06 -0600 | [diff] [blame] | 16 | select DRIVERS_WIFI_GENERIC |
Eric Lai | 07ebe4a | 2023-06-06 11:06:51 +0800 | [diff] [blame] | 17 | select DRIVERS_UART_ACPI |
Jon Murphy | a456458 | 2023-03-29 15:38:19 -0600 | [diff] [blame] | 18 | select EC_GOOGLE_CHROMEEC |
| 19 | select EC_GOOGLE_CHROMEEC_ESPI |
Jon Murphy | 534cc06 | 2023-04-06 22:07:09 -0600 | [diff] [blame] | 20 | select EC_GOOGLE_CHROMEEC_SKUID |
| 21 | select EC_GOOGLE_CHROMEEC_BOARDID |
Jon Murphy | cec22f1 | 2023-04-06 22:03:05 -0600 | [diff] [blame] | 22 | select ELOG |
| 23 | select ELOG_GSMI |
Jon Murphy | b27495d | 2023-03-29 17:05:47 -0600 | [diff] [blame] | 24 | select FW_CONFIG |
| 25 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
Jon Murphy | 534cc06 | 2023-04-06 22:07:09 -0600 | [diff] [blame] | 26 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
Jon Murphy | 1236b33 | 2023-03-29 18:51:12 -0600 | [diff] [blame] | 27 | select I2C_TPM |
Jon Murphy | 4c4e9fc | 2023-03-29 15:28:25 -0600 | [diff] [blame] | 28 | select MAINBOARD_HAS_CHROMEOS |
Jon Murphy | 1236b33 | 2023-03-29 18:51:12 -0600 | [diff] [blame] | 29 | select MAINBOARD_HAS_TPM2 |
Jon Murphy | 65b54c4 | 2023-03-29 18:39:15 -0600 | [diff] [blame] | 30 | select SOC_AMD_COMMON_BLOCK_USE_ESPI |
Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 31 | select SOC_AMD_PHOENIX |
Fred Reitberger | 096e04c | 2023-05-12 12:18:12 -0400 | [diff] [blame] | 32 | select SPI_FLASH_EXIT_4_BYTE_ADDR_MODE |
Jon Murphy | 905768b | 2023-04-06 22:21:23 -0600 | [diff] [blame] | 33 | select SYSTEM_TYPE_LAPTOP |
Jon Murphy | 1236b33 | 2023-03-29 18:51:12 -0600 | [diff] [blame] | 34 | select TPM_GOOGLE_TI50 |
Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 35 | |
| 36 | config DEVICETREE |
| 37 | default "variants/baseboard/devicetree.cb" |
| 38 | |
Jon Murphy | 1236b33 | 2023-03-29 18:51:12 -0600 | [diff] [blame] | 39 | config DRIVER_TPM_I2C_BUS |
| 40 | hex |
| 41 | default 0x02 |
| 42 | |
| 43 | config DRIVER_TPM_I2C_ADDR |
| 44 | hex |
| 45 | default 0x50 |
| 46 | |
Grzegorz Bernacki | a0bd3e9 | 2023-05-29 11:53:38 +0000 | [diff] [blame^] | 47 | config GSC_IRQ_GPIO |
| 48 | int |
| 49 | default 84 |
| 50 | |
Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 51 | config FMDFILE |
| 52 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" |
| 53 | |
| 54 | config MAINBOARD_DIR |
| 55 | default "google/myst" |
| 56 | |
| 57 | config MAINBOARD_FAMILY |
| 58 | string |
| 59 | default "Google_Myst" |
| 60 | |
| 61 | config MAINBOARD_PART_NUMBER |
| 62 | default "Myst" if BOARD_GOOGLE_MYST |
| 63 | |
Jon Murphy | 3f34879 | 2023-03-29 15:36:01 -0600 | [diff] [blame] | 64 | config OVERRIDE_DEVICETREE |
| 65 | string |
| 66 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 67 | |
| 68 | config VARIANT_DIR |
| 69 | string |
| 70 | default "myst" if BOARD_GOOGLE_MYST |
| 71 | |
Jon Murphy | 4c4e9fc | 2023-03-29 15:28:25 -0600 | [diff] [blame] | 72 | config VBOOT |
Jon Murphy | a456458 | 2023-03-29 15:38:19 -0600 | [diff] [blame] | 73 | select EC_GOOGLE_CHROMEEC_SWITCHES |
| 74 | select VBOOT_LID_SWITCH |
Jon Murphy | 4c4e9fc | 2023-03-29 15:28:25 -0600 | [diff] [blame] | 75 | select VBOOT_SEPARATE_VERSTAGE |
| 76 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 77 | |
Jon Murphy | 1236b33 | 2023-03-29 18:51:12 -0600 | [diff] [blame] | 78 | # TODO(b/277087492): Enable GSC CBFS verification |
| 79 | config VBOOT_GSCVD |
| 80 | bool |
| 81 | default n |
| 82 | |
Jon Murphy | a859057 | 2023-02-23 13:42:52 -0700 | [diff] [blame] | 83 | endif # BOARD_GOOGLE_BASEBOARD_MYST |