summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-12-05 09:33:51 +0000
committerLeah Rowe <leah@libreboot.org>2024-12-05 09:33:51 +0000
commit99513c3bf674950232cc5aaba4ee15ae790310d0 (patch)
tree7fc4dedbcf6b84df5079194a43946afac4b359b3
parentcd9baca5d664d392316d94ccaa7deb209d4e1828 (diff)
add patch from mkukri fixing t480 sata
nvme worked but not sata. with this, t480 users with sata ssds should be able to boot linux nicely Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--config/coreboot/next/patches/0009-sata-fix.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/config/coreboot/next/patches/0009-sata-fix.patch b/config/coreboot/next/patches/0009-sata-fix.patch
new file mode 100644
index 00000000..d67b38eb
--- /dev/null
+++ b/config/coreboot/next/patches/0009-sata-fix.patch
@@ -0,0 +1,54 @@
+From fb58f84592fbba25abafaccd9e868afa107c1051 Mon Sep 17 00:00:00 2001
+From: Mate Kukri <km@mkukri.xyz>
+Date: Thu, 5 Dec 2024 08:11:05 +0000
+Subject: [PATCH] sata fix
+
+Change-Id: I0eab7aaf9cf00085c97c637c9ffa14e38cf6d738
+---
+ .../lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb | 9 +++------
+ .../sklkbl_thinkpad/variants/t480s/overridetree.cb | 9 +++------
+ 2 files changed, 6 insertions(+), 12 deletions(-)
+
+diff --git a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb
+index 4b68ec3f49..2f0b20d91a 100644
+--- a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb
++++ b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb
+@@ -42,12 +42,9 @@ chip soc/intel/skylake
+ end
+
+ device ref sata on
+- # SATA_0 - NC
+- # SATA_1A - NC
+- # SATA_1B - NC
+- # SATA_2 - SATA caddy
+- register "SataPortsEnable[3]" = "1"
+- register "SataPortsDevSlp[3]" = "1"
++ # SATA_2 - JHDD1 SATA SSD
++ register "SataPortsEnable[2]" = "1"
++ register "SataPortsDevSlp[2]" = "1"
+ end
+
+ # PCIe controller 1 - 1x4
+diff --git a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb
+index 5f1c38bc03..cea5e485d2 100644
+--- a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb
++++ b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb
+@@ -42,12 +42,9 @@ chip soc/intel/skylake
+ end
+
+ device ref sata on
+- # SATA_0 - NC
+- # SATA_1A - NC
+- # SATA_1B - NC
+- # SATA_2 - M.2 2280 SATA
+- register "SataPortsEnable[3]" = "1"
+- register "SataPortsDevSlp[3]" = "1"
++ # SATA_2 - Main M.2 SATA SSD
++ register "SataPortsEnable[2]" = "1"
++ register "SataPortsDevSlp[2]" = "1"
+ end
+
+ # PCIe controller 1 - 1x2+2x1
+--
+2.39.5
+