summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220/Kconfig
blob: 01a26ae5a0eeff6a0083ec7598afcc384a3d61b8 (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
if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I

config BOARD_SPECIFIC_OPTIONS # dummy
	def_bool y
	select SYSTEM_TYPE_LAPTOP
	select CPU_INTEL_SOCKET_RPGA989
	select NORTHBRIDGE_INTEL_SANDYBRIDGE
	select SOUTHBRIDGE_INTEL_C216
	select EC_LENOVO_PMH7
	select EC_LENOVO_H8
	select NO_UART_ON_SUPERIO
	select BOARD_ROMSIZE_KB_8192
	select HAVE_ACPI_TABLES
	select HAVE_OPTION_TABLE
	select HAVE_CMOS_DEFAULT
	select HAVE_ACPI_RESUME
	select INTEL_INT15
	select SANDYBRIDGE_LVDS
	select DRIVERS_RICOH_RCE822
	select MAINBOARD_HAS_LPC_TPM

	# Workaround for EC/KBC IRQ1.
	select SERIRQ_CONTINUOUS_MODE

config HAVE_IFD_BIN
	bool
	default n

config HAVE_ME_BIN
	bool
	default n

config MAINBOARD_DIR
	string
	default lenovo/x220

config MAINBOARD_PART_NUMBER
	string
	default "ThinkPad X220"

config MMCONF_BASE_ADDRESS
	hex
	default 0xf0000000

config MAX_CPUS
	int
	default 8

config USBDEBUG_HCD_INDEX
	int
	default 2

config DRAM_RESET_GATE_GPIO
	int
	default 10

config VGA_BIOS_FILE
	string
	default "pci8086,0116.rom" if BOARD_LENOVO_X220I
	default "pci8086,0126.rom"

config VGA_BIOS_ID
	string
	default "8086,0116" if BOARD_LENOVO_X220I
	default "8086,0126"

config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
	hex
	default 0x17aa

config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
	hex
	default 0x21db

endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I