libpayload: configs: Add new config.featuretest to broaden CI
[coreboot.git] / src / mainboard / lenovo / t520 / Kconfig
blob663113b98f69bca9c2e49e4f617562171d45b6c3
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_LENOVO_BASEBOARD_T520
4         def_bool n
5         select SYSTEM_TYPE_LAPTOP
6         select NORTHBRIDGE_INTEL_SANDYBRIDGE
7         select USE_NATIVE_RAMINIT
8         select SOUTHBRIDGE_INTEL_BD82X6X
9         select EC_LENOVO_PMH7
10         select EC_LENOVO_H8
11         select H8_HAS_BAT_THRESHOLDS_IMPL
12         select NO_UART_ON_SUPERIO
13         select BOARD_ROMSIZE_KB_8192
14         select HAVE_ACPI_TABLES
15         select HAVE_OPTION_TABLE
16         select HAVE_CMOS_DEFAULT
17         select HAVE_ACPI_RESUME
18         select INTEL_INT15
19         select GFX_GMA_PANEL_1_ON_LVDS
20         select MAINBOARD_HAS_LIBGFXINIT
21         select MEMORY_MAPPED_TPM
22         select MAINBOARD_HAS_TPM1
23         select DRIVERS_LENOVO_HYBRID_GRAPHICS
24         select INTEL_GMA_HAVE_VBT if BOARD_LENOVO_T520
25         select MAINBOARD_USES_IFD_GBE_REGION
26         select DRIVER_LENOVO_SERIALS
28         # Workaround for EC/KBC IRQ1.
29         select SERIRQ_CONTINUOUS_MODE
31 config BOARD_LENOVO_T520
32         select BOARD_LENOVO_BASEBOARD_T520
34 config BOARD_LENOVO_W520
35         select BOARD_LENOVO_BASEBOARD_T520
37 if BOARD_LENOVO_BASEBOARD_T520
39 config VBOOT
40         select VBOOT_VBNV_FLASH
41         select GBB_FLAG_DISABLE_LID_SHUTDOWN
42         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
43         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
44         select GBB_FLAG_DISABLE_FWMP
45         select HAS_RECOVERY_MRC_CACHE
47 config VBOOT_SLOTS_RW_A
48         default y
50 config VARIANT_DIR
51         default "t520" if BOARD_LENOVO_T520
52         default "w520" if BOARD_LENOVO_W520
54 config MAINBOARD_DIR
55         default "lenovo/t520"
57 config OVERRIDE_DEVICETREE
58         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
60 config FMDFILE
61         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
63 config MAINBOARD_PART_NUMBER
64         default "ThinkPad T520" if BOARD_LENOVO_T520
65         default "ThinkPad W520" if BOARD_LENOVO_W520
67 config USBDEBUG_HCD_INDEX
68         int
69         default 2
71 config DRAM_RESET_GATE_GPIO
72         int
73         default 10
75 config VGA_BIOS_ID
76         string
77         default "8086,0126"
79 config PS2K_EISAID
80         default "PNP0303"
82 config PS2M_EISAID
83         default "LEN0015"
85 config THINKPADEC_HKEY_EISAID
86         default "LEN0068"
88 endif