1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_INTEL_TGLRVP_UP3 || BOARD_INTEL_TGLRVP_UP4
5 config BOARD_SPECIFIC_OPTIONS
7 select BOARD_ROMSIZE_KB_32768
8 select HAVE_ACPI_RESUME
9 select HAVE_ACPI_TABLES
10 select MAINBOARD_HAS_CHROMEOS
11 select DRIVERS_I2C_HID
12 select DRIVERS_INTEL_DPTF
13 select DRIVERS_I2C_GENERIC
14 select DRIVERS_I2C_MAX98373
15 select DRIVERS_INTEL_PMC
16 select DRIVERS_USB_ACPI
17 select DRIVERS_SPI_ACPI
18 select SOC_INTEL_TIGERLAKE
19 select INTEL_LPSS_UART_FOR_CONSOLE
20 select DRIVERS_INTEL_ISH
22 select HAVE_SPD_IN_CBFS
23 select SOC_INTEL_CSE_LITE_SKU
24 select MAINBOARD_HAS_TPM2
25 select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
27 select TPM_GOOGLE_CR50
30 select EC_GOOGLE_CHROMEEC_SWITCHES if TGL_CHROME_EC
31 select GBB_FLAG_FORCE_MANUAL_RECOVERY
32 select HAS_RECOVERY_MRC_CACHE
33 select GBB_FLAG_FORCE_DEV_SWITCH_ON
34 select GBB_FLAG_FORCE_DEV_BOOT_USB
35 select VBOOT_EARLY_EC_SYNC
38 default "intel/tglrvp"
41 default "tglrvp_up3" if BOARD_INTEL_TGLRVP_UP3
42 default "tglrvp_up4" if BOARD_INTEL_TGLRVP_UP4
47 default "TGLRVPUP3" if BOARD_INTEL_TGLRVP_UP3
48 default "TGLRVPUP4" if BOARD_INTEL_TGLRVP_UP4
50 config MAINBOARD_PART_NUMBER
51 default "tglrvpu" if BOARD_INTEL_TGLRVP_UP3
52 default "tglrvpy" if BOARD_INTEL_TGLRVP_UP4
54 config MAINBOARD_FAMILY
56 default "Intel_tglrvp"
59 default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
65 This option allows you to select the on board EC to use.
66 Select whether the board has Intel EC or Chrome EC
70 select EC_GOOGLE_CHROMEEC
71 select EC_GOOGLE_CHROMEEC_LPC
72 select EC_GOOGLE_CHROMEEC_ESPI
73 select EC_GOOGLE_CHROMEEC_BOARDID
78 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
82 select VBOOT_LID_SWITCH
84 config UART_FOR_CONSOLE
88 config DRIVER_TPM_SPI_BUS
91 config TPM_TIS_ACPI_INTERRUPT
93 default 54 # GPE0_DW1_22 (GPP_C22)