mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +02:00
2edd583aee
Courtesy of Kat Inskip who ported this board. Headphone output doesn't work at the moment, due to incorrect verb. Intel VBT is also wrong. Both are taken from another board. This will be amended later with the correct verb and VBT. Signed-off-by: Leah Rowe <leah@libreboot.org>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From da742084f51bb7e97472605d6eff0726fd7a5863 Mon Sep 17 00:00:00 2001
|
|
From: persmule <persmule@gmail.com>
|
|
Date: Sun, 31 Oct 2021 23:33:26 +0000
|
|
Subject: [PATCH 02/48] lenovo/t400: Enable all SATA ports
|
|
|
|
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
|
|
index 9e056772e9..9361f330d2 100644
|
|
--- a/src/mainboard/lenovo/t400/devicetree.cb
|
|
+++ b/src/mainboard/lenovo/t400/devicetree.cb
|
|
@@ -46,8 +46,8 @@ chip northbridge/intel/gm45
|
|
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"
|
|
|
|
--
|
|
2.47.3
|
|
|