sb/intel/lynxpoint/pcie.c: Fix a mistake in a comment

The code annotated by the comment is dealing with root port 7, so update
the comment to reflect that. It looks like the comment was copied from
the root port 3 case, but not updated.

Change-Id: I0e27e4453f4c3b2b1b9dffb0c89b71373c6b303e
Signed-off-by: Tristan Corrick <tristan@corrick.kiwi>
Reviewed-on: https://review.coreboot.org/c/30078
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Tristan Corrick 2018-12-06 22:47:21 +13:00 committed by Patrick Georgi
parent 1dcd8dbf76
commit baa4c07ed4
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ static void root_port_check_disable(struct device *dev)
case 7:
if (is_lp)
break;
/* Root Port 3 is disabled in config 11b (1x4 links). */
/* Root Port 7 is disabled in config 11b (1x4 links). */
if (((rpc.strpfusecfg2 >> 14) & 0x3) == 0x3) {
root_port_mark_disable(dev);
return;