summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/tglrvp/Kconfig
blob: 2acd68a304b4ef4a6854ccf94dbe701d583ec008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
if BOARD_INTEL_TGLRVP_UP3 || BOARD_INTEL_TGLRVP_UP4

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_32768
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select MAINBOARD_HAS_CHROMEOS
	select DRIVERS_I2C_HID
	select DRIVERS_I2C_GENERIC
	select DRIVERS_I2C_MAX98373
	select DRIVERS_INTEL_PMC
	select DRIVERS_USB_ACPI
	select DRIVERS_SPI_ACPI
	select GENERATE_SMBIOS_TABLES
	select SOC_INTEL_TIGERLAKE
	select INTEL_LPSS_UART_FOR_CONSOLE
	select DRIVERS_INTEL_ISH
	select EC_ACPI
	select PCIEXP_HOTPLUG

config CHROMEOS
	bool
	default y
	select EC_GOOGLE_CHROMEEC_SWITCHES if TGL_CHROME_EC
	select GBB_FLAG_FORCE_MANUAL_RECOVERY
	select HAS_RECOVERY_MRC_CACHE
	select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
	select GBB_FLAG_FORCE_DEV_SWITCH_ON
	select GBB_FLAG_FORCE_DEV_BOOT_USB

config MAINBOARD_DIR
	string
	default "intel/tglrvp"

config VARIANT_DIR
	string
	default "tglrvp_up3" if BOARD_INTEL_TGLRVP_UP3
	default "tglrvp_up4" if BOARD_INTEL_TGLRVP_UP4

config GBB_HWID
	string
	depends on CHROMEOS
	default "TGLRVPUP3" if BOARD_INTEL_TGLRVP_UP3
	default "TGLRVPUP4" if BOARD_INTEL_TGLRVP_UP4

config MAINBOARD_PART_NUMBER
	string
	default "tglrvpu" if BOARD_INTEL_TGLRVP_UP3
	default "tglrvpy" if BOARD_INTEL_TGLRVP_UP4

config MAINBOARD_FAMILY
	string
	default "Intel_tglrvp"

config MAX_CPUS
	int
	default 8

config PCIEXP_HOTPLUG_BUSES
	int
	default 42

config PCIEXP_HOTPLUG_MEM
	hex
	default 0xc200000 # 194 MiB

config PCIEXP_HOTPLUG_PREFETCH_MEM
	hex
	default 0x1c00000 # 448 MiB

config DEVICETREE
	string
	default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"

config DIMM_SPD_SIZE
	int
	default 512

choice TGL_EC
	prompt "ON BOARD EC"
	default TGL_CHROME_EC
	help
	  This option allows you to select the on board EC to use.
	  Select whether the board  has Intel EC or Chrome EC

config TGL_CHROME_EC
	bool "Chrome EC"
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_LPC
	select EC_GOOGLE_CHROMEEC_ESPI
	select EC_GOOGLE_CHROMEEC_BOARDID

config TGL_INTEL_EC
	bool "Intel EC"
	select EC_ACPI
	select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
endchoice

config VBOOT
	select VBOOT_LID_SWITCH
	select VBOOT_MOCK_SECDATA

config UART_FOR_CONSOLE
	int
	default 2
endif