2024-01-25 15:24:02 +00:00
|
|
|
From 80ebbfef42454ea0911e5fc3858103d905987ed8 Mon Sep 17 00:00:00 2001
|
2021-10-31 23:36:47 +00:00
|
|
|
From: persmule <persmule@gmail.com>
|
|
|
|
Date: Sun, 31 Oct 2021 23:33:26 +0000
|
2024-01-25 15:24:02 +00:00
|
|
|
Subject: [PATCH 09/30] lenovo/t400: Enable all SATA ports
|
2021-10-31 23:36:47 +00:00
|
|
|
|
|
|
|
There are 2 SATA ports on the chassis of t400(s), but at least one dock for
|
|
|
|
t400 contains a port for (P/S)ATA device, and t400s has a eSATA port on its
|
|
|
|
chassis, and another one on its dock.
|
|
|
|
|
|
|
|
They have to be unmasked via device tree to use.
|
|
|
|
|
|
|
|
This patch unmasked all SATA ports found within t400s with factory firmware.
|
|
|
|
---
|
|
|
|
src/mainboard/lenovo/t400/devicetree.cb | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/mainboard/lenovo/t400/devicetree.cb b/src/mainboard/lenovo/t400/devicetree.cb
|
2023-08-05 22:36:42 +00:00
|
|
|
index 259c3e1b21..3d007533a4 100644
|
2021-10-31 23:36:47 +00:00
|
|
|
--- a/src/mainboard/lenovo/t400/devicetree.cb
|
|
|
|
+++ b/src/mainboard/lenovo/t400/devicetree.cb
|
2023-02-19 18:26:07 +00:00
|
|
|
@@ -46,8 +46,8 @@ chip northbridge/intel/gm45
|
2021-10-31 23:36:47 +00:00
|
|
|
register "gpe0_en" = "0x01000000"
|
|
|
|
register "gpi1_routing" = "2"
|
|
|
|
|
|
|
|
- # Set AHCI mode, enable ports 1 and 2.
|
|
|
|
- register "sata_port_map" = "0x03"
|
|
|
|
+ # Set AHCI mode, enable ports 1, 2, 5 and 6.
|
|
|
|
+ register "sata_port_map" = "0x33"
|
|
|
|
register "sata_clock_request" = "0"
|
|
|
|
register "sata_traffic_monitor" = "0"
|
|
|
|
|
|
|
|
--
|
2023-03-04 23:58:17 +00:00
|
|
|
2.39.2
|
2021-10-31 23:36:47 +00:00
|
|
|
|