libpayload: configs: Add new config.featuretest to broaden CI
[coreboot.git] / src / mainboard / lenovo / t400 / Kconfig
blob5afcde8b81d80afa5a88c15664c44dc7203b08cf
1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400 \
4         || BOARD_LENOVO_W500 || BOARD_LENOVO_R500
6 config BOARD_SPECIFIC_OPTIONS
7         def_bool y
8         select SYSTEM_TYPE_LAPTOP
9         select CPU_INTEL_SOCKET_P
10         select NORTHBRIDGE_INTEL_GM45
11         select SOUTHBRIDGE_INTEL_I82801IX
12         select EC_LENOVO_PMH7
13         select EC_LENOVO_H8
14         select H8_HAS_BAT_THRESHOLDS_IMPL
15         select BOARD_ROMSIZE_KB_8192 if !BOARD_LENOVO_R500
16         select BOARD_ROMSIZE_KB_4096 if BOARD_LENOVO_R500
17         select HAVE_ACPI_TABLES
18         select EC_ACPI
19         select HAVE_OPTION_TABLE
20         select HAVE_CMOS_DEFAULT
21         select HAVE_ACPI_RESUME
22         select INTEL_INT15
23         select SUPERIO_NSC_PC87382
24         select SUPERIO_NSC_PC87384
25         select DRIVERS_LENOVO_HYBRID_GRAPHICS
26         select DRIVER_LENOVO_SERIALS
27         select MAINBOARD_HAS_LIBGFXINIT
28         select MAINBOARD_USES_IFD_GBE_REGION if !BOARD_LENOVO_R500
29         select INTEL_GMA_HAVE_VBT
31 config VBOOT
32         select VBOOT_VBNV_FLASH
33         select GBB_FLAG_DISABLE_LID_SHUTDOWN
34         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
35         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
36         select GBB_FLAG_DISABLE_FWMP
38 config VBOOT_SLOTS_RW_A
39         default y
41 config FMDFILE
42         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
44 config MAINBOARD_DIR
45         default "lenovo/t400"
47 config VARIANT_DIR
48         default "t400" if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 \
49                 || BOARD_LENOVO_R400 || BOARD_LENOVO_W500
50         default "r500" if BOARD_LENOVO_R500
52 config MAINBOARD_PART_NUMBER
53         default "ThinkPad T400" if BOARD_LENOVO_T400
54         default "ThinkPad T500" if BOARD_LENOVO_T500
55         default "ThinkPad R400" if BOARD_LENOVO_R400
56         default "ThinkPad R500" if BOARD_LENOVO_R500
57         default "ThinkPad W500" if BOARD_LENOVO_W500
59 config OVERRIDE_DEVICETREE
60         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
62 config USBDEBUG_HCD_INDEX
63         int
64         default 2
66 config CBFS_SIZE
67         default 0x200000
69 config PS2K_EISAID
70         default "LEN0010"
72 config PS2M_EISAID
73         default "IBM3780"
75 endif # BOARD_LENOVO_T400