1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_LENOVO_BASEBOARD_T520
5 select SYSTEM_TYPE_LAPTOP
6 select NORTHBRIDGE_INTEL_SANDYBRIDGE
7 select USE_NATIVE_RAMINIT
8 select SOUTHBRIDGE_INTEL_BD82X6X
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
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
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
51 default "t520" if BOARD_LENOVO_T520
52 default "w520" if BOARD_LENOVO_W520
57 config OVERRIDE_DEVICETREE
58 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
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
71 config DRAM_RESET_GATE_GPIO
85 config THINKPADEC_HKEY_EISAID