summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/w541/Kconfig
diff options
context:
space:
mode:
authorAmersel <amersel@runbox.me>2021-04-25 15:23:43 -0400
committerPatrick Georgi <pgeorgi@google.com>2021-06-15 07:50:50 +0000
commit2d2d61c7e1a70ff655c44f42065b31429fadd576 (patch)
treece24703007f205f26e93c6a67e428bb894b25d5a /src/mainboard/lenovo/w541/Kconfig
parentb50b6a5fa7e3d1810ab60dcc9b646ab7914b79e3 (diff)
mb/lenovo/w541: Add ThinkPad W541
Add support for the ThinkPad W541 based on Peter Lemenkov's initial W541 port. Compiled and tested with SeaBIOS and Tianocore booting into Arch Linux 5.10.32-lts. The Haswell mrc.bin blob is required. Tested working: - SATA SSD - SATA DVD drive - M.2 SATA - All USB ports - SD card reader - Speakers/headphone jack - Keyboard/touchpad - libgfxinit - VGA - mini DisplayPort (Thunderbolt untested) - eDP laptop screen - NVIDIA GPU in Linux - Camera/Mic - Smartcard reader - Internal flashing when IFD is unlocked - ThinkPad basic dock (VGA, USB, Ethernet) - CMOS options - WLAN - Bluetooth - Ethernet - Using me_cleaner - All DDR3 slots Not working: - Keyboard backlight - First boot can take up to 20s (MRC.bin is slow) Untested: - Thunderbolt - Internal flashing when IFD is locked - Other ThinkPad docks (DisplayPort, DVI, Audio) - ExpressCard slot - Battery thresholds - WWAN card - Fingerprint reader - USB Debug console Signed-off-by: Justin Wu <amersel@runbox.me> Change-Id: Ia43070f51bba3cf59ba9b7d9e29e4e778efbeb08 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52659 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Peter Lemenkov <lemenkov@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/w541/Kconfig')
-rw-r--r--src/mainboard/lenovo/w541/Kconfig49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/w541/Kconfig b/src/mainboard/lenovo/w541/Kconfig
new file mode 100644
index 0000000000..efa3a12a99
--- /dev/null
+++ b/src/mainboard/lenovo/w541/Kconfig
@@ -0,0 +1,49 @@
+if BOARD_LENOVO_THINKPAD_W541
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_12288
+ select EC_LENOVO_H8
+ select EC_LENOVO_PMH7
+ select H8_HAS_BAT_TRESHOLDS_IMPL
+ select H8_HAS_PRIMARY_FN_KEYS
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_CMOS_DEFAULT
+ select HAVE_OPTION_TABLE
+ select INTEL_GMA_HAVE_VBT
+ select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM1
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select NORTHBRIDGE_INTEL_HASWELL
+ select NO_UART_ON_SUPERIO
+ select SERIRQ_CONTINUOUS_MODE
+ select SOUTHBRIDGE_INTEL_LYNXPOINT
+ select SYSTEM_TYPE_LAPTOP
+
+config GFX_GMA_PANEL_1_PORT
+ default "DP3"
+
+config MAINBOARD_DIR
+ string
+ default "lenovo/w541"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "ThinkPad W541"
+
+config DRIVER_LENOVO_SERIALS
+ bool
+ default n
+
+config PS2K_EISAID
+ default "LEN0071"
+
+config PS2M_EISAID
+ default "LEN004A"
+
+config THINKPADEC_HKEY_EISAID
+ default "LEN0068"
+
+endif