payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t520 / Kconfig
blob81a1e30d047919b73f68aee8b7127be5794dab27
1 config BOARD_LENOVO_BASEBOARD_T520
2         def_bool n
3         select SYSTEM_TYPE_LAPTOP
4         select NORTHBRIDGE_INTEL_SANDYBRIDGE
5         select USE_NATIVE_RAMINIT
6         select SOUTHBRIDGE_INTEL_BD82X6X
7         select EC_LENOVO_PMH7
8         select EC_LENOVO_H8
9         select H8_HAS_BAT_THRESHOLDS_IMPL
10         select NO_UART_ON_SUPERIO
11         select BOARD_ROMSIZE_KB_8192
12         select HAVE_ACPI_TABLES
13         select HAVE_OPTION_TABLE
14         select HAVE_CMOS_DEFAULT
15         select HAVE_ACPI_RESUME
16         select INTEL_INT15
17         select GFX_GMA_PANEL_1_ON_LVDS
18         select MAINBOARD_HAS_LIBGFXINIT
19         select MEMORY_MAPPED_TPM
20         select MAINBOARD_HAS_TPM1
21         select DRIVERS_LENOVO_HYBRID_GRAPHICS
22         select INTEL_GMA_HAVE_VBT if BOARD_LENOVO_T520
23         select MAINBOARD_USES_IFD_GBE_REGION
25         # Workaround for EC/KBC IRQ1.
26         select SERIRQ_CONTINUOUS_MODE
28 if BOARD_LENOVO_BASEBOARD_T520
30 config VBOOT
31         select VBOOT_VBNV_CMOS
32         select GBB_FLAG_DISABLE_LID_SHUTDOWN
33         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
34         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
35         select GBB_FLAG_DISABLE_FWMP
36         select HAS_RECOVERY_MRC_CACHE
38 config VBOOT_SLOTS_RW_A
39         default y
41 config VBOOT_VBNV_OFFSET
42         hex
43         default 0x2a
45 config VARIANT_DIR
46         default "t520" if BOARD_LENOVO_T520
47         default "w520" if BOARD_LENOVO_W520
49 config MAINBOARD_DIR
50         default "lenovo/t520"
52 config OVERRIDE_DEVICETREE
53         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
55 config FMDFILE
56         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
58 config MAINBOARD_PART_NUMBER
59         default "ThinkPad T520" if BOARD_LENOVO_T520
60         default "ThinkPad W520" if BOARD_LENOVO_W520
62 config USBDEBUG_HCD_INDEX
63         int
64         default 2
66 config DRAM_RESET_GATE_GPIO
67         int
68         default 10
70 config VGA_BIOS_ID
71         string
72         default "8086,0126"
74 config PS2K_EISAID
75         default "PNP0303"
77 config PS2M_EISAID
78         default "LEN0015"
80 config THINKPADEC_HKEY_EISAID
81         default "LEN0068"
83 endif