ec/starlabs/merlin: Adjust the EC code to read values from CMOS
[coreboot.git] / src / mainboard / lenovo / t420 / Kconfig
blobe2137a337937a28495331701f72628ef1b64b22e
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_T420
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
7         select SYSTEM_TYPE_LAPTOP
8         select NORTHBRIDGE_INTEL_SANDYBRIDGE
9         select USE_NATIVE_RAMINIT
10         select SOUTHBRIDGE_INTEL_BD82X6X
11         select EC_LENOVO_PMH7
12         select EC_LENOVO_H8
13         select H8_HAS_BAT_THRESHOLDS_IMPL
14         select NO_UART_ON_SUPERIO
15         select BOARD_ROMSIZE_KB_8192
16         select HAVE_ACPI_TABLES
17         select HAVE_OPTION_TABLE
18         select HAVE_CMOS_DEFAULT
19         select HAVE_ACPI_RESUME
20         select INTEL_INT15
21         select DRIVERS_RICOH_RCE822
22         select DRIVER_LENOVO_SERIALS
23         select MEMORY_MAPPED_TPM
24         select MAINBOARD_HAS_TPM1
25         select MAINBOARD_HAS_LIBGFXINIT
26         select GFX_GMA_PANEL_1_ON_LVDS
27         select DRIVERS_LENOVO_HYBRID_GRAPHICS
28         select INTEL_GMA_HAVE_VBT
29         select MAINBOARD_USES_IFD_GBE_REGION
31         # Workaround for EC/KBC IRQ1.
32         select SERIRQ_CONTINUOUS_MODE
34 config VBOOT
35         select VBOOT_VBNV_FLASH
36         select GBB_FLAG_DISABLE_LID_SHUTDOWN
37         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
38         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
39         select GBB_FLAG_DISABLE_FWMP
40         select HAS_RECOVERY_MRC_CACHE
42 config VBOOT_SLOTS_RW_A
43         default y
45 config FMDFILE
46         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
48 config MAINBOARD_DIR
49         default "lenovo/t420"
51 config MAINBOARD_PART_NUMBER
52         default "ThinkPad T420"
54 config USBDEBUG_HCD_INDEX
55         int
56         default 2
58 config DRAM_RESET_GATE_GPIO
59         int
60         default 10
62 config VGA_BIOS_ID
63         string
64         default "8086,0126"
66 config PS2K_EISAID
67         default "PNP0303"
69 config PS2M_EISAID
70         default "LEN0015"
72 config THINKPADEC_HKEY_EISAID
73         default "LEN0068"
75 endif # BOARD_LENOVO_T420