0037-Conditional-TBFW-setting-for-T480-T480S.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 9b547c2029611793f895117a807fa2d2c22a5332 Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Mon, 21 Apr 2025 05:14:45 +0100
  4. Subject: [PATCH 37/37] Conditional TBFW setting for T480/T480S
  5. Otherwise, other boards will define it, which
  6. might trigger the vendor download script, and
  7. lead to a non-zero exit.
  8. Signed-off-by: Leah Rowe <leah@libreboot.org>
  9. ---
  10. src/mainboard/lenovo/Kconfig | 4 ++++
  11. 1 file changed, 4 insertions(+)
  12. diff --git a/src/mainboard/lenovo/Kconfig b/src/mainboard/lenovo/Kconfig
  13. index 512b326381..3d3490b35d 100644
  14. --- a/src/mainboard/lenovo/Kconfig
  15. +++ b/src/mainboard/lenovo/Kconfig
  16. @@ -18,6 +18,8 @@ config MAINBOARD_FAMILY
  17. string
  18. default MAINBOARD_PART_NUMBER
  19. +if BOARD_LENOVO_T480 || BOARD_LENOVO_T480S
  20. +
  21. config LENOVO_TBFW_BIN
  22. string "Lenovo ThunderBolt firmware bin file"
  23. default ""
  24. @@ -44,4 +46,6 @@ config LENOVO_TBFW_BIN
  25. Just leave this blank if you don't care about this option. It's not
  26. useful for every ThinkPad, only certain models.
  27. +endif # BOARD LENOVO_T480 || BOARD_LENOVO_T480S
  28. +
  29. endif # VENDOR_LENOVO
  30. --
  31. 2.39.5