From 99513c3bf674950232cc5aaba4ee15ae790310d0 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 5 Dec 2024 09:33:51 +0000 Subject: 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 --- config/coreboot/next/patches/0009-sata-fix.patch | 54 ++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 config/coreboot/next/patches/0009-sata-fix.patch (limited to 'config/coreboot/next/patches/0009-sata-fix.patch') 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 +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 + -- cgit v1.2.1