payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / tglrvp / Kconfig
blobb8110dd4587f33bd8eda0becc228f28e058ef9ce
1 if BOARD_INTEL_TGLRVP_UP3 || BOARD_INTEL_TGLRVP_UP4
3 config BOARD_SPECIFIC_OPTIONS
4         def_bool y
5         select BOARD_ROMSIZE_KB_32768
6         select HAVE_ACPI_RESUME
7         select HAVE_ACPI_TABLES
8         select MAINBOARD_HAS_CHROMEOS
9         select DRIVERS_I2C_HID
10         select DRIVERS_INTEL_DPTF
11         select DRIVERS_I2C_GENERIC
12         select DRIVERS_I2C_MAX98373
13         select DRIVERS_INTEL_PMC
14         select DRIVERS_USB_ACPI
15         select DRIVERS_SPI_ACPI
16         select SOC_INTEL_TIGERLAKE
17         select SOC_INTEL_COMMON_BLOCK_DTT
18         select INTEL_LPSS_UART_FOR_CONSOLE
19         select DRIVERS_INTEL_ISH
20         select EC_ACPI
21         select HAVE_SPD_IN_CBFS
22         select SOC_INTEL_CSE_LITE_SKU
23         select MAINBOARD_HAS_TPM2
24         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
25         select SPI_TPM
26         select TPM_GOOGLE_CR50
28 config CHROMEOS
29         select EC_GOOGLE_CHROMEEC_SWITCHES if TGL_CHROME_EC
30         select GBB_FLAG_FORCE_MANUAL_RECOVERY
31         select HAS_RECOVERY_MRC_CACHE
32         select GBB_FLAG_FORCE_DEV_SWITCH_ON
33         select GBB_FLAG_FORCE_DEV_BOOT_USB
34         select VBOOT_EARLY_EC_SYNC
36 config MAINBOARD_DIR
37         default "intel/tglrvp"
39 config VARIANT_DIR
40         default "tglrvp_up3" if BOARD_INTEL_TGLRVP_UP3
41         default "tglrvp_up4" if BOARD_INTEL_TGLRVP_UP4
43 config GBB_HWID
44         string
45         depends on CHROMEOS
46         default "TGLRVPUP3" if BOARD_INTEL_TGLRVP_UP3
47         default "TGLRVPUP4" if BOARD_INTEL_TGLRVP_UP4
49 config MAINBOARD_PART_NUMBER
50         default "tglrvpu" if BOARD_INTEL_TGLRVP_UP3
51         default "tglrvpy" if BOARD_INTEL_TGLRVP_UP4
53 config MAINBOARD_FAMILY
54         string
55         default "Intel_tglrvp"
57 config DEVICETREE
58         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
60 choice
61         prompt "ON BOARD EC"
62         default TGL_CHROME_EC
63         help
64           This option allows you to select the on board EC to use.
65           Select whether the board  has Intel EC or Chrome EC
67 config TGL_CHROME_EC
68         bool "Chrome EC"
69         select EC_GOOGLE_CHROMEEC
70         select EC_GOOGLE_CHROMEEC_LPC
71         select EC_GOOGLE_CHROMEEC_ESPI
72         select EC_GOOGLE_CHROMEEC_BOARDID
74 config TGL_INTEL_EC
75         bool "Intel EC"
76         select EC_ACPI
77         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
78 endchoice
80 config VBOOT
81         select VBOOT_LID_SWITCH
83 config UART_FOR_CONSOLE
84         int
85         default 2
87 config DRIVER_TPM_SPI_BUS
88         default 0x2
90 config TPM_TIS_ACPI_INTERRUPT
91         int
92         default 54  # GPE0_DW1_22 (GPP_C22)
94 endif