sb/intel/lynxpoint/lpc.c: Correct GPI routing check

Code does not match comment, but this time the comment is right.

Change-Id: I4e277a802c68c8a4e858b2e33e7ec69b41dd9773
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47044
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-10-30 20:23:41 +01:00
parent 244a425efd
commit a7174b7c1d

View file

@ -243,7 +243,7 @@ static void pch_power_options(struct device *dev)
* Set the board's GPI routing on LynxPoint-H.
* This is done as part of GPIO configuration on LynxPoint-LP.
*/
if (pch_is_lp())
if (!pch_is_lp())
pch_gpi_routing(dev, config);
/* GPE setup based on device tree configuration */