mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / lenovo / x1_carbon_gen1 / Kconfig
blob4e4c58b246767e566aa36f3baeda34df82ba98d5
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_X1_CARBON_GEN1
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
7         select BOARD_ROMSIZE_KB_12288
8         select DRIVERS_RICOH_RCE822
9         select DRIVER_LENOVO_SERIALS
10         select EC_LENOVO_H8
11         select EC_LENOVO_PMH7
12         select GFX_GMA_PANEL_1_ON_LVDS
13         select H8_HAS_BAT_THRESHOLDS_IMPL
14         select HAVE_ACPI_RESUME
15         select HAVE_ACPI_TABLES
16         select HAVE_CMOS_DEFAULT
17         select HAVE_OPTION_TABLE
18         select HAVE_SPD_IN_CBFS
19         select INTEL_GMA_HAVE_VBT
20         select INTEL_INT15
21         select MAINBOARD_HAS_LIBGFXINIT
22         select MAINBOARD_HAS_TPM1
23         select MEMORY_MAPPED_TPM
24         select NO_UART_ON_SUPERIO
25         select NORTHBRIDGE_INTEL_SANDYBRIDGE
26         # Workaround for EC/KBC IRQ1.
27         select SERIRQ_CONTINUOUS_MODE
28         select SOUTHBRIDGE_INTEL_C216
29         select SYSTEM_TYPE_LAPTOP
30         select USE_NATIVE_RAMINIT
32 config VBOOT
33         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
34         select GBB_FLAG_DISABLE_FWMP
35         select GBB_FLAG_DISABLE_LID_SHUTDOWN
36         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
37         select HAS_RECOVERY_MRC_CACHE
38         select VBOOT_VBNV_FLASH
40 config VBOOT_SLOTS_RW_AB
41         default y
43 config FMDFILE
44         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT
46 config MAINBOARD_DIR
47         default "lenovo/x1_carbon_gen1"
49 config MAINBOARD_PART_NUMBER
50         default "ThinkPad X1 carbon gen 1"
52 config USBDEBUG_HCD_INDEX
53         int
54         default 2
56 config DRAM_RESET_GATE_GPIO
57         int
58         default 10
60 config VGA_BIOS_ID
61         string
62         default "8086,0166"
64 config PS2K_EISAID
65         default "LEN0071"
67 config PS2M_EISAID
68         default "LEN0030"
70 endif # BOARD_LENOVO_X1_CARBON_GEN1