summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/kblrvp/Kconfig
blob: 2291472403e00be5f9beab4e544270764b9fded3 (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
if BOARD_INTEL_KBLRVP3 || BOARD_INTEL_KBLRVP7

config BOARD_SPECIFIC_OPTIONS # dummy
	def_bool y
	select BOARD_ROMSIZE_KB_16384
	select EC_ACPI
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_OPTION_TABLE
	select HAVE_SMI_HANDLER
	select MONOTONIC_TIMER_MSR
	select SOC_INTEL_SKYLAKE
	select MAINBOARD_USES_FSP2_0
	select MAINBOARD_HAS_CHROMEOS
	select GENERIC_SPD_BIN

config CHROMEOS
	select LID_SWITCH

choice
	prompt "TPM to USE"
	default KBLRVP_TPM1_2
	help
	  This option allows you to select the TPM to use.
	  Select whether the board does not have TPM, TPM 1.1 or TPM 2.0

config KBLRVP_NO_TPM
	bool "No TPM"
	select VBOOT_MOCK_SECDATA if VBOOT

config KBLRVP_TPM1_2
	bool "TPM 1.1"
	select MAINBOARD_HAS_LPC_TPM

config KBLRVP_TPM2_0
	bool "TPM 2.0"
	select TPM2
	select MAINBOARD_HAS_TPM2
	select MAINBOARD_HAS_LPC_TPM

endchoice

config IRQ_SLOT_COUNT
	int
	default 18

config MAINBOARD_DIR
	string
	default "intel/kblrvp"

config VARIANT_DIR
	string
	default "rvp3" if BOARD_INTEL_KBLRVP3
	default "rvp7" if BOARD_INTEL_KBLRVP7

config MAINBOARD_PART_NUMBER
	string
	default "Kblrvp"

config MAINBOARD_FAMILY
	string
	default "Intel_Kblrvp"

config MAX_CPUS
	int
	default 8

config TPM_PIRQ
	hex
	default 0x18  # GPP_E0_IRQ

config GBB_HWID
	string
	depends on CHROMEOS
	default "KBLRVP TEST 8819"

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

config IFD_BIN_PATH
	string
	depends on HAVE_IFD_BIN
	default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/descriptor.rvp3.bin" if BOARD_INTEL_KBLRVP3
	default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/descriptor.rvp7.bin" if BOARD_INTEL_KBLRVP7

config ME_BIN_PATH
	string
	depends on HAVE_ME_BIN
	default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/me.rvp3.bin" if BOARD_INTEL_KBLRVP3
	default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/me.rvp7.bin" if BOARD_INTEL_KBLRVP7
endif