mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / lenovo / haswell / Kconfig
blobb2fc97d05113feba0d5c18e940c32a3da6d3b80b
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_LENOVO_HASWELL_COMMON
4         def_bool n
5         select BOARD_ROMSIZE_KB_12288
6         select EC_LENOVO_H8
7         select EC_LENOVO_PMH7
8         select H8_HAS_BAT_THRESHOLDS_IMPL
9         select H8_HAS_LEDLOGO
10         select H8_HAS_PRIMARY_FN_KEYS
11         select HAVE_ACPI_RESUME
12         select HAVE_ACPI_TABLES
13         select HAVE_CMOS_DEFAULT
14         select HAVE_OPTION_TABLE
15         select INTEL_GMA_HAVE_VBT
16         select MAINBOARD_HAS_LIBGFXINIT
17         select MAINBOARD_HAS_TPM1
18         select MAINBOARD_USES_IFD_GBE_REGION
19         select MEMORY_MAPPED_TPM
20         select NORTHBRIDGE_INTEL_HASWELL
21         select NO_UART_ON_SUPERIO
22         select SERIRQ_CONTINUOUS_MODE
23         select SOUTHBRIDGE_INTEL_LYNXPOINT
24         select SYSTEM_TYPE_LAPTOP
26 config BOARD_LENOVO_THINKPAD_T440P
27         select BOARD_LENOVO_HASWELL_COMMON
28         select INTEL_INT15
30 config BOARD_LENOVO_THINKPAD_W541
31         select BOARD_LENOVO_HASWELL_COMMON
33 if BOARD_LENOVO_HASWELL_COMMON
35 config VBOOT
36         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
37         select GBB_FLAG_DISABLE_FWMP
38         select GBB_FLAG_DISABLE_LID_SHUTDOWN
39         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
40         select HAS_RECOVERY_MRC_CACHE
41         select VBOOT_VBNV_FLASH
43 config VBOOT_SLOTS_RW_AB
44         default y
46 config VARIANT_DIR
47         default "t440p" if BOARD_LENOVO_THINKPAD_T440P
48         default "w541" if BOARD_LENOVO_THINKPAD_W541
50 config DEVICETREE
51         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
53 config FMDFILE
54         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT
56 config MAINBOARD_DIR
57         default "lenovo/haswell"
59 config MAINBOARD_PART_NUMBER
60         default "ThinkPad T440p" if BOARD_LENOVO_THINKPAD_T440P
61         default "ThinkPad W541" if BOARD_LENOVO_THINKPAD_W541
63 config ONBOARD_VGA_IS_PRIMARY
64         bool
65         default y
67 config VGA_BIOS_ID
68         string
69         default "8086,0416" if BOARD_LENOVO_THINKPAD_T440P
71 config USBDEBUG_HCD_INDEX
72         int
73         default 2
75 config PS2K_EISAID
76         default "LEN0071"
78 config PS2M_EISAID
79         default "LEN0036" if BOARD_LENOVO_THINKPAD_T440P
80         default "LEN004A" if BOARD_LENOVO_THINKPAD_W541
82 config THINKPADEC_HKEY_EISAID
83         default "LEN0068"
85 config GFX_GMA_PANEL_1_PORT
86         default "DP3" if BOARD_LENOVO_THINKPAD_W541
88 endif