payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / x220 / Kconfig
blobd51deaea14337f4b3a6e5a3ff7a568a11f6c39cc
1 if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1
3 config BOARD_SPECIFIC_OPTIONS
4         def_bool y
5         select BOARD_ROMSIZE_KB_8192
6         select DRIVERS_RICOH_RCE822
7         select EC_LENOVO_H8
8         select EC_LENOVO_PMH7
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
16         select INTEL_INT15
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
29 config VBOOT
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
38         default y
40 config VBOOT_VBNV_OFFSET
41         hex
42         default 0x2a
44 config MAINBOARD_DIR
45         default "lenovo/x220"
47 config VARIANT_DIR
48         default "x220" if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
49         default "x1" if BOARD_LENOVO_X1
51 config FMDFILE
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
63         int
64         default 2
66 config DRAM_RESET_GATE_GPIO
67         int
68         default 10
70 config VGA_BIOS_ID
71         string
72         default "8086,0116" if BOARD_LENOVO_X220I
73         # FIXME: x1 with i3 cpu may also use "8086,0116"
74         default "8086,0126"
76 config PS2K_EISAID
77         default "PNP0303"
79 config PS2M_EISAID
80         default "LEN0020"
82 endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1