1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_X200 || BOARD_LENOVO_X301
5 config BOARD_SPECIFIC_OPTIONS
7 select SYSTEM_TYPE_LAPTOP
8 select CPU_INTEL_SOCKET_BGA956
9 select NORTHBRIDGE_INTEL_GM45
10 select SOUTHBRIDGE_INTEL_I82801IX
13 select H8_HAS_BAT_THRESHOLDS_IMPL
14 select NO_UART_ON_SUPERIO
15 select BOARD_ROMSIZE_KB_8192
16 select HAVE_ACPI_TABLES
18 select HAVE_OPTION_TABLE
19 select HAVE_CMOS_DEFAULT
20 select HAVE_ACPI_RESUME
21 select INTEL_GMA_HAVE_VBT
23 select SUPERIO_NSC_PC87382
24 select DRIVERS_LENOVO_WACOM
25 select DRIVER_LENOVO_SERIALS
26 select MAINBOARD_HAS_LIBGFXINIT
27 select MAINBOARD_USES_IFD_GBE_REGION
30 select VBOOT_VBNV_FLASH
31 select GBB_FLAG_DISABLE_LID_SHUTDOWN
32 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
33 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
34 select GBB_FLAG_DISABLE_FWMP
36 config VBOOT_SLOTS_RW_A
40 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
46 default "x200" if BOARD_LENOVO_X200
47 default "x301" if BOARD_LENOVO_X301
49 config MAINBOARD_PART_NUMBER
50 default "ThinkPad X200" if BOARD_LENOVO_X200
51 default "ThinkPad X301" if BOARD_LENOVO_X301
53 config OVERRIDE_DEVICETREE
54 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
56 config USBDEBUG_HCD_INDEX
64 default "LEN0010" if BOARD_LENOVO_X200
67 default "IBM3780" if BOARD_LENOVO_X200
69 config INTEL_GMA_VBT_FILE
70 default "" # We add specific files in the Makefile
72 endif # BOARD_LENOVO_X200 || BOARD_LENOVO_X301