summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/elkhartlake_crb/Kconfig
blob: e5915eea04f45ae5d4a9da94a6221f2cc52755aa (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
if BOARD_INTEL_ELKHARTLAKE_CRB

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_32768
	select DRIVERS_I2C_HID
	select DRIVERS_INTEL_DPTF
	select DRIVERS_I2C_GENERIC
	select DRIVERS_SPI_ACPI
	select DRIVERS_USB_ACPI
	select EC_ACPI
	select HAVE_SPD_IN_CBFS
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select INTEL_LPSS_UART_FOR_CONSOLE
	select SOC_INTEL_ELKHARTLAKE

config MAINBOARD_DIR
	default "intel/elkhartlake_crb"

config VARIANT_DIR
	default "ehlcrb" if BOARD_INTEL_ELKHARTLAKE_CRB

config MAINBOARD_PART_NUMBER
	default "ehlcrb"

config MAINBOARD_FAMILY
	string
	default "Intel_ehlcrb"

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

config DIMM_SPD_SIZE
	default 512

config VBOOT
	select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
	select GBB_FLAG_DISABLE_FW_ROLLBACK_CHECK
	select GBB_FLAG_DISABLE_FWMP
	select GBB_FLAG_DISABLE_LID_SHUTDOWN
	select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
	select GBB_FLAG_ENABLE_ALTERNATE_OS
	select GBB_FLAG_FORCE_DEV_SWITCH_ON
	select VBOOT_ALWAYS_ALLOW_UDC
	select VBOOT_ALWAYS_ENABLE_DISPLAY
	select VBOOT_MOCK_SECDATA if !MAINBOARD_HAS_TPM2
	select VBOOT_NO_BOARD_SUPPORT

config UART_FOR_CONSOLE
	int
	default 2

endif