summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/haswell/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-05-22 03:20:46 +0200
committerPaul Fagerburg <pfagerburg@chromium.org>2022-05-31 13:41:18 +0000
commit1b3197efb40a19353f26ca565ed81248e3db43e1 (patch)
tree7abf495dede230a7f57d1a7b6fc27789e2b6240b /src/mainboard/lenovo/haswell/Kconfig
parentc754462717b79c2d334a5de8fc269b346468dbe6 (diff)
mb/lenovo: Rename t440p to haswell
In preparation to follow-up commits, rename the mainboard folder from t440p to haswell, which will have more variants later. Change-Id: I4a9d68d54d5f0821bbf85faaa620855d456c97f3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63511 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo/haswell/Kconfig')
-rw-r--r--src/mainboard/lenovo/haswell/Kconfig73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/haswell/Kconfig b/src/mainboard/lenovo/haswell/Kconfig
new file mode 100644
index 0000000000..48b1103b3c
--- /dev/null
+++ b/src/mainboard/lenovo/haswell/Kconfig
@@ -0,0 +1,73 @@
+if BOARD_LENOVO_THINKPAD_T440P
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_12288
+ select EC_LENOVO_H8
+ select EC_LENOVO_PMH7
+ select H8_HAS_BAT_THRESHOLDS_IMPL
+ select H8_HAS_PRIMARY_FN_KEYS
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_CMOS_DEFAULT
+ select HAVE_OPTION_TABLE
+ select MEMORY_MAPPED_TPM
+ select MAINBOARD_HAS_TPM1
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_INT15
+ select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_TPM1
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select MEMORY_MAPPED_TPM
+ select NO_UART_ON_SUPERIO
+ select NORTHBRIDGE_INTEL_HASWELL
+ select SERIRQ_CONTINUOUS_MODE
+ select SOUTHBRIDGE_INTEL_LYNXPOINT
+ select SYSTEM_TYPE_LAPTOP
+
+config VBOOT
+ select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
+ select GBB_FLAG_DISABLE_FWMP
+ select GBB_FLAG_DISABLE_LID_SHUTDOWN
+ select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
+ select HAS_RECOVERY_MRC_CACHE
+ select VBOOT_VBNV_CMOS
+
+config VBOOT_SLOTS_RW_AB
+ default y
+
+config VBOOT_VBNV_OFFSET
+ hex
+ default 0x2a
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT
+
+config MAINBOARD_DIR
+ default "lenovo/haswell"
+
+config MAINBOARD_PART_NUMBER
+ default "ThinkPad T440p"
+
+config VGA_BIOS_ID
+ string
+ default "8086,0416"
+
+config USBDEBUG_HCD_INDEX
+ int
+ default 2
+
+config DRIVER_LENOVO_SERIALS
+ bool
+ default n
+
+config PS2K_EISAID
+ default "LEN0071"
+
+config PS2M_EISAID
+ default "LEN0036"
+
+config THINKPADEC_HKEY_EISAID
+ default "LEN0068"
+
+endif