payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t400 / Kconfig
blobf90ed53850aad7ac425494f0f92ad17f88496b3d
1 if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400 \
2         || BOARD_LENOVO_W500 || BOARD_LENOVO_R500
4 config BOARD_SPECIFIC_OPTIONS
5         def_bool y
6         select SYSTEM_TYPE_LAPTOP
7         select CPU_INTEL_SOCKET_P
8         select NORTHBRIDGE_INTEL_GM45
9         select SOUTHBRIDGE_INTEL_I82801IX
10         select EC_LENOVO_PMH7
11         select EC_LENOVO_H8
12         select H8_HAS_BAT_THRESHOLDS_IMPL
13         select BOARD_ROMSIZE_KB_8192 if !BOARD_LENOVO_R500
14         select BOARD_ROMSIZE_KB_4096 if BOARD_LENOVO_R500
15         select DRIVERS_GENERIC_IOAPIC
16         select HAVE_MP_TABLE
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 MAINBOARD_HAS_LIBGFXINIT
27         select MAINBOARD_USES_IFD_GBE_REGION if !BOARD_LENOVO_R500
28         select INTEL_GMA_HAVE_VBT
30 config VBOOT
31         select VBOOT_VBNV_CMOS
32         select GBB_FLAG_DISABLE_LID_SHUTDOWN
33         select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
34         select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
35         select GBB_FLAG_DISABLE_FWMP
37 config VBOOT_SLOTS_RW_A
38         default y
40 config VBOOT_VBNV_OFFSET
41         hex
42         default 0x82
44 config FMDFILE
45         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
47 config MAINBOARD_DIR
48         default "lenovo/t400"
50 config VARIANT_DIR
51         default "t400" if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 \
52                 || BOARD_LENOVO_R400 || BOARD_LENOVO_W500
53         default "r500" if BOARD_LENOVO_R500
55 config MAINBOARD_PART_NUMBER
56         default "ThinkPad T400" if BOARD_LENOVO_T400
57         default "ThinkPad T500" if BOARD_LENOVO_T500
58         default "ThinkPad R400" if BOARD_LENOVO_R400
59         default "ThinkPad R500" if BOARD_LENOVO_R500
60         default "ThinkPad W500" if BOARD_LENOVO_W500
62 config OVERRIDE_DEVICETREE
63         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
65 config USBDEBUG_HCD_INDEX
66         int
67         default 2
69 config CBFS_SIZE
70         default 0x200000
72 config PS2K_EISAID
73         default "LEN0010"
75 config PS2M_EISAID
76         default "IBM3780"
78 endif # BOARD_LENOVO_T400