diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-07-23 21:40:22 +0200 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-07-24 22:24:49 +0000 |
commit | c5f705574615c307e3e098b2fbd396eb3cc84206 (patch) | |
tree | 83476fd74fd0a5dd1582f80b23a268dfd33e814b /src/mainboard/lenovo/haswell/Kconfig | |
parent | b5bdd707583a5731722f848cecae75753decf9b9 (diff) |
mb/lenovo: Integrate W541 into haswell mainboard
Lots of code from lenovo/haswell can be reused for lenovo/w541. Thus,
integrate it into lenovo/haswell and make it a variant.
Change-Id: If99d842cff777fe27ff63baabc447e69b9d0333c
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63514
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo/haswell/Kconfig')
-rw-r--r-- | src/mainboard/lenovo/haswell/Kconfig | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/haswell/Kconfig b/src/mainboard/lenovo/haswell/Kconfig index efac41b1d7..897700df15 100644 --- a/src/mainboard/lenovo/haswell/Kconfig +++ b/src/mainboard/lenovo/haswell/Kconfig @@ -24,6 +24,9 @@ config BOARD_LENOVO_THINKPAD_T440P select BOARD_LENOVO_HASWELL_COMMON select INTEL_INT15 +config BOARD_LENOVO_THINKPAD_W541 + select BOARD_LENOVO_HASWELL_COMMON + if BOARD_LENOVO_HASWELL_COMMON config VBOOT @@ -43,6 +46,7 @@ config VBOOT_VBNV_OFFSET config VARIANT_DIR default "t440p" if BOARD_LENOVO_THINKPAD_T440P + default "w541" if BOARD_LENOVO_THINKPAD_W541 config DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" @@ -55,10 +59,11 @@ config MAINBOARD_DIR config MAINBOARD_PART_NUMBER default "ThinkPad T440p" if BOARD_LENOVO_THINKPAD_T440P + default "ThinkPad W541" if BOARD_LENOVO_THINKPAD_W541 config VGA_BIOS_ID string - default "8086,0416" + default "8086,0416" if BOARD_LENOVO_THINKPAD_T440P config USBDEBUG_HCD_INDEX int @@ -72,9 +77,13 @@ config PS2K_EISAID default "LEN0071" config PS2M_EISAID - default "LEN0036" + default "LEN0036" if BOARD_LENOVO_THINKPAD_T440P + default "LEN004A" if BOARD_LENOVO_THINKPAD_W541 config THINKPADEC_HKEY_EISAID default "LEN0068" +config GFX_GMA_PANEL_1_PORT + default "DP3" if BOARD_LENOVO_THINKPAD_W541 + endif |