1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T || BOARD_LENOVO_X230S || BOARD_LENOVO_X230_EDP
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_X230S
15 select NO_UART_ON_SUPERIO
16 select BOARD_ROMSIZE_KB_12288 if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T || BOARD_LENOVO_X230_EDP
17 select BOARD_ROMSIZE_KB_16384 if BOARD_LENOVO_X230S
18 select HAVE_ACPI_TABLES
19 select HAVE_OPTION_TABLE
20 select HAVE_CMOS_DEFAULT
21 select HAVE_ACPI_RESUME
23 select DRIVERS_RICOH_RCE822
24 select DRIVER_LENOVO_SERIALS
25 select MEMORY_MAPPED_TPM
26 select MAINBOARD_HAS_TPM1 if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T || BOARD_LENOVO_X230_EDP
27 select MAINBOARD_HAS_LIBGFXINIT
28 select GFX_GMA_PANEL_1_ON_LVDS if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T
29 select INTEL_GMA_HAVE_VBT
30 select MAINBOARD_USES_IFD_GBE_REGION
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
53 default "x230" if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T || BOARD_LENOVO_X230_EDP
54 default "x230s" if BOARD_LENOVO_X230S
56 config MAINBOARD_PART_NUMBER
57 default "ThinkPad X230" if BOARD_LENOVO_X230 || BOARD_LENOVO_X230_EDP
58 default "ThinkPad X230t" if BOARD_LENOVO_X230T
59 default "ThinkPad X230s" if BOARD_LENOVO_X230S
61 config OVERRIDE_DEVICETREE
62 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
64 config INTEL_GMA_VBT_FILE
65 default "src/mainboard/\$(MAINBOARDDIR)/variants/x230_edp/data.vbt" if BOARD_LENOVO_X230_EDP
67 config USBDEBUG_HCD_INDEX
71 config DRAM_RESET_GATE_GPIO
85 config THINKPADEC_HKEY_EISAID
88 endif # BOARD_LENOVO_X230 || BOARD_LENOVO_X230T || BOARD_LENOVO_X230S || BOARD_LENOVO_X230_EDP