summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-07-14 11:18:42 +0100
committerLeah Rowe <leah@libreboot.org>2025-07-14 11:26:58 +0100
commitcc2f08e7bbf9fc32bdd37079ee93b477ef4e8d09 (patch)
tree3283ed01c1d2cdedf255257cbcf0849e24f54566 /config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch
parent32dfdfbb01b84bb9c058e9b84305f15a14d4e231 (diff)
Revert "coreboot: rev 8b52167a9f 13 July 2025, rebase t480"HEADmaster
This reverts commit 32dfdfbb01b84bb9c058e9b84305f15a14d4e231. The update caused an issue on T480: Backlight comes on, then off, then on, then off, repeatedly, and never gets to the payload. Will have to investigate further. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch')
-rw-r--r--config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch b/config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch
new file mode 100644
index 00000000..fbe70b0d
--- /dev/null
+++ b/config/coreboot/default/patches/0037-Conditional-TBFW-setting-for-T480-T480S.patch
@@ -0,0 +1,37 @@
+From 3b6c8e02eba287727b3abc96ffe5612f28c27df3 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <leah@libreboot.org>
+Date: Mon, 21 Apr 2025 05:14:45 +0100
+Subject: [PATCH 37/41] Conditional TBFW setting for T480/T480S
+
+Otherwise, other boards will define it, which
+might trigger the vendor download script, and
+lead to a non-zero exit.
+
+Signed-off-by: Leah Rowe <leah@libreboot.org>
+---
+ src/mainboard/lenovo/Kconfig | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/mainboard/lenovo/Kconfig b/src/mainboard/lenovo/Kconfig
+index 512b326381..3d3490b35d 100644
+--- a/src/mainboard/lenovo/Kconfig
++++ b/src/mainboard/lenovo/Kconfig
+@@ -18,6 +18,8 @@ config MAINBOARD_FAMILY
+ string
+ default MAINBOARD_PART_NUMBER
+
++if BOARD_LENOVO_T480 || BOARD_LENOVO_T480S
++
+ config LENOVO_TBFW_BIN
+ string "Lenovo ThunderBolt firmware bin file"
+ default ""
+@@ -44,4 +46,6 @@ config LENOVO_TBFW_BIN
+ Just leave this blank if you don't care about this option. It's not
+ useful for every ThinkPad, only certain models.
+
++endif # BOARD LENOVO_T480 || BOARD_LENOVO_T480S
++
+ endif # VENDOR_LENOVO
+--
+2.39.5
+