intel/broadwell: Use the correct SATA port config for setting IOBP register
Fix a typo that was introduce in commit 696ebc2d
(Broadwell/Sata:
Add support for setting IOBP registers for Ports 2 and 3.) [1].
Setting one of the SATA port 3 IOBP setting was using the value from
the port 2 register.
On the purism/librem13 (on which SATA port 3 is tested), this change
doesn't seem to affect anything, as that typo wasn't exhibiting any
visible problems anyways.
[1] https://review.coreboot.org/18408
Change-Id: I3948def5c0588791009c4b24cbc061552d9d1d48
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Reviewed-on: https://review.coreboot.org/18514
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
a154a910cb
commit
601aa313a6
|
@ -161,7 +161,7 @@ static void sata_init(struct device *dev)
|
|||
pch_iobp_update(SATA_IOBP_SP3_SECRT88,
|
||||
~(SATA_SECRT88_VADJ_MASK <<
|
||||
SATA_SECRT88_VADJ_SHIFT),
|
||||
(config->sata_port2_gen3_tx &
|
||||
(config->sata_port3_gen3_tx &
|
||||
SATA_SECRT88_VADJ_MASK)
|
||||
<< SATA_SECRT88_VADJ_SHIFT);
|
||||
|
||||
|
|
Loading…
Reference in New Issue