1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400 \
4 || BOARD_LENOVO_W500 || BOARD_LENOVO_R500
6 config BOARD_SPECIFIC_OPTIONS
8 select SYSTEM_TYPE_LAPTOP
9 select CPU_INTEL_SOCKET_P
10 select NORTHBRIDGE_INTEL_GM45
11 select SOUTHBRIDGE_INTEL_I82801IX
14 select H8_HAS_BAT_THRESHOLDS_IMPL
15 select BOARD_ROMSIZE_KB_8192 if !BOARD_LENOVO_R500
16 select BOARD_ROMSIZE_KB_4096 if BOARD_LENOVO_R500
17 select HAVE_ACPI_TABLES
19 select HAVE_OPTION_TABLE
20 select HAVE_CMOS_DEFAULT
21 select HAVE_ACPI_RESUME
23 select SUPERIO_NSC_PC87382
24 select SUPERIO_NSC_PC87384
25 select DRIVERS_LENOVO_HYBRID_GRAPHICS
26 select DRIVER_LENOVO_SERIALS
27 select MAINBOARD_HAS_LIBGFXINIT
28 select MAINBOARD_USES_IFD_GBE_REGION if !BOARD_LENOVO_R500
29 select INTEL_GMA_HAVE_VBT
32 select VBOOT_VBNV_FLASH
33 select GBB_FLAG_DISABLE_LID_SHUTDOWN
34 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
35 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
36 select GBB_FLAG_DISABLE_FWMP
38 config VBOOT_SLOTS_RW_A
42 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
48 default "t400" if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 \
49 || BOARD_LENOVO_R400 || BOARD_LENOVO_W500
50 default "r500" if BOARD_LENOVO_R500
52 config MAINBOARD_PART_NUMBER
53 default "ThinkPad T400" if BOARD_LENOVO_T400
54 default "ThinkPad T500" if BOARD_LENOVO_T500
55 default "ThinkPad R400" if BOARD_LENOVO_R400
56 default "ThinkPad R500" if BOARD_LENOVO_R500
57 default "ThinkPad W500" if BOARD_LENOVO_W500
59 config OVERRIDE_DEVICETREE
60 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
62 config USBDEBUG_HCD_INDEX
75 endif # BOARD_LENOVO_T400