1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_T430S || BOARD_LENOVO_T431S
5 config BOARD_SPECIFIC_OPTIONS
7 select SYSTEM_TYPE_LAPTOP
8 select NORTHBRIDGE_INTEL_SANDYBRIDGE
9 select USE_NATIVE_RAMINIT
10 select SOUTHBRIDGE_INTEL_C216
13 select H8_HAS_BAT_THRESHOLDS_IMPL
14 select H8_HAS_PRIMARY_FN_KEYS if BOARD_LENOVO_T431S
15 select NO_UART_ON_SUPERIO
16 select BOARD_ROMSIZE_KB_16384
17 select HAVE_ACPI_TABLES
18 select HAVE_OPTION_TABLE
19 select HAVE_CMOS_DEFAULT
20 select HAVE_ACPI_RESUME
22 select MEMORY_MAPPED_TPM
23 select MAINBOARD_HAS_TPM1
24 select MAINBOARD_HAS_LIBGFXINIT
25 select GFX_GMA_PANEL_1_ON_LVDS if BOARD_LENOVO_T430S
26 select INTEL_GMA_HAVE_VBT
27 select MAINBOARD_USES_IFD_GBE_REGION
28 select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_T431S
29 select DRIVER_LENOVO_SERIALS
30 select HAVE_SPD_IN_CBFS if BOARD_LENOVO_T431S
32 # Workaround for EC/KBC IRQ1.
33 select SERIRQ_CONTINUOUS_MODE
36 select VBOOT_VBNV_FLASH
37 select GBB_FLAG_DISABLE_LID_SHUTDOWN
38 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
39 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
40 select GBB_FLAG_DISABLE_FWMP
41 select HAS_RECOVERY_MRC_CACHE
43 config VBOOT_SLOTS_RW_AB
47 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT
50 default "lenovo/t430s"
53 default "t430s" if BOARD_LENOVO_T430S
54 default "t431s" if BOARD_LENOVO_T431S
56 config MAINBOARD_PART_NUMBER
57 default "ThinkPad T430s" if BOARD_LENOVO_T430S
58 default "ThinkPad T431s" if BOARD_LENOVO_T431S
60 config OVERRIDE_DEVICETREE
61 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
63 config USBDEBUG_HCD_INDEX
67 config DRAM_RESET_GATE_GPIO
71 config ONBOARD_VGA_IS_PRIMARY
81 endif # BOARD_LENOVO_T430S || BOARD_LENOVO_T431S