summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mtlrvp/Kconfig
blob: f5255675f32ce9d1f780ee9720a56a71bd57536f (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
config BOARD_INTEL_MTLRVP_COMMON
	def_bool n
	select BOARD_ROMSIZE_KB_32768
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select SOC_INTEL_METEORLAKE

config BOARD_INTEL_MTLRVP_P
	select BOARD_INTEL_MTLRVP_COMMON

config BOARD_INTEL_MTLRVP_P_EXT_EC
	select BOARD_INTEL_MTLRVP_COMMON

if BOARD_INTEL_MTLRVP_COMMON

config MAINBOARD_DIR
	default "intel/mtlrvp"

config BASEBOARD_DIR
	string
	default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P || BOARD_INTEL_MTLRVP_P_EXT_EC

config MAINBOARD_PART_NUMBER
	string
	default "mtlrvp"

config FMDFILE
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd"

config MAINBOARD_FAMILY
	string
	default "Intel_mtlrvp"

config VARIANT_DIR
	string
	default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P
	default "mtlrvp_p_ext_ec" if BOARD_INTEL_MTLRVP_P_EXT_EC

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

config OVERRIDE_DEVICETREE
	string
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

choice
	prompt "ON BOARD EC"
	default MTL_INTEL_EC if BOARD_INTEL_MTLRVP_P
	default MTL_CHROME_EC if BOARD_INTEL_MTLRVP_P_EXT_EC
	help
	  This option allows you to select the on board EC to use.
	  Select whether the board has Intel EC or/and Chrome EC

config MTL_CHROME_EC
	bool "Chrome EC"
	select EC_ACPI
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_ESPI
	select EC_GOOGLE_CHROMEEC_BOARDID

config MTL_INTEL_EC
	bool "Intel EC"
	select EC_ACPI
endchoice

config VBOOT
	select VBOOT_LID_SWITCH

endif # BOARD_INTEL_MTLRVP_COMMON