summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t530/Kconfig
blob: a797656d71e4f519768f3ca1543d7f3c90aeab51 (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
## SPDX-License-Identifier: GPL-2.0-only

config BOARD_LENOVO_BASEBOARD_T530
	def_bool n
	select BOARD_ROMSIZE_KB_12288
	select DRIVERS_LENOVO_HYBRID_GRAPHICS
	select DRIVER_LENOVO_SERIALS
	select EC_LENOVO_H8
	select EC_LENOVO_PMH7
	select GFX_GMA_PANEL_1_ON_LVDS
	select H8_HAS_BAT_THRESHOLDS_IMPL
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_HAS_TPM1
	select MAINBOARD_USES_IFD_GBE_REGION
	select MEMORY_MAPPED_TPM
	select NO_UART_ON_SUPERIO
	select NORTHBRIDGE_INTEL_SANDYBRIDGE
	# Workaround for EC/KBC IRQ1.
	select SERIRQ_CONTINUOUS_MODE
	select SOUTHBRIDGE_INTEL_C216
	select SYSTEM_TYPE_LAPTOP
	select USE_NATIVE_RAMINIT

config BOARD_LENOVO_T530
	select BOARD_LENOVO_BASEBOARD_T530

config BOARD_LENOVO_W530
	select BOARD_LENOVO_BASEBOARD_T530
	select DRIVERS_RICOH_RCE822

if BOARD_LENOVO_BASEBOARD_T530

config VBOOT
	select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
	select GBB_FLAG_DISABLE_FWMP
	select GBB_FLAG_DISABLE_LID_SHUTDOWN
	select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
	select HAS_RECOVERY_MRC_CACHE
	select VBOOT_VBNV_FLASH

config VBOOT_SLOTS_RW_AB
	default y

config FMDFILE
	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT

config VARIANT_DIR
	default "t530" if BOARD_LENOVO_T530
	default "w530" if BOARD_LENOVO_W530

config MAINBOARD_DIR
	default "lenovo/t530"

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

config MAINBOARD_PART_NUMBER
	default "ThinkPad T530" if BOARD_LENOVO_T530
	default "ThinkPad W530" if BOARD_LENOVO_W530

config USBDEBUG_HCD_INDEX
	int
	default 2

config DRAM_RESET_GATE_GPIO
	int
	default 10

config VGA_BIOS_ID
	string
	default "8086,0166"

config PS2K_EISAID
	default "LEN0071"

config PS2M_EISAID
	default "LEN0015"

config THINKPADEC_HKEY_EISAID
	default "LEN0068"

endif