1 if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1
3 config BOARD_SPECIFIC_OPTIONS
5 select BOARD_ROMSIZE_KB_8192
6 select DRIVERS_RICOH_RCE822
9 select GFX_GMA_PANEL_1_ON_LVDS
10 select H8_HAS_BAT_THRESHOLDS_IMPL
11 select HAVE_ACPI_RESUME
12 select HAVE_ACPI_TABLES
13 select HAVE_CMOS_DEFAULT
14 select HAVE_OPTION_TABLE
15 select INTEL_GMA_HAVE_VBT
17 select MAINBOARD_HAS_LIBGFXINIT
18 select MAINBOARD_HAS_TPM1
19 select MAINBOARD_USES_IFD_GBE_REGION
20 select MEMORY_MAPPED_TPM
21 select NO_UART_ON_SUPERIO
22 select NORTHBRIDGE_INTEL_SANDYBRIDGE
23 # Workaround for EC/KBC IRQ1.
24 select SERIRQ_CONTINUOUS_MODE
25 select SOUTHBRIDGE_INTEL_C216
26 select SYSTEM_TYPE_LAPTOP
30 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
31 select GBB_FLAG_DISABLE_FWMP
32 select GBB_FLAG_DISABLE_LID_SHUTDOWN
33 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
34 select HAS_RECOVERY_MRC_CACHE
35 select VBOOT_VBNV_CMOS
37 config VBOOT_SLOTS_RW_A
40 config VBOOT_VBNV_OFFSET
48 default "x220" if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
49 default "x1" if BOARD_LENOVO_X1
52 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
54 config MAINBOARD_PART_NUMBER
55 default "ThinkPad X220" if BOARD_LENOVO_X220
56 default "ThinkPad X220i" if BOARD_LENOVO_X220I
57 default "ThinkPad X1" if BOARD_LENOVO_X1
59 config OVERRIDE_DEVICETREE
60 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
62 config USBDEBUG_HCD_INDEX
66 config DRAM_RESET_GATE_GPIO
72 default "8086,0116" if BOARD_LENOVO_X220I
73 # FIXME: x1 with i3 cpu may also use "8086,0116"
82 endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1