summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-01-11 09:43:52 -0700
committerMartin Roth <martinroth@google.com>2017-01-13 17:41:23 +0100
commiteec3402339246b98ab35ab880a3f7eac614a8cb5 (patch)
tree97cda27253459bc2149dac605a584a5845bd7728 /src/southbridge/nvidia/mcp55
parent9b2fe630d6a7144558224e4e5dfcc22d19b47a02 (diff)
downloadcoreboot-eec3402339246b98ab35ab880a3f7eac614a8cb5.tar.xz
sb/nvidia/mcp55: Fix typo in nic.c
The comparison value was obviously wrong here. One too many 'f' characters. Found-by: Coverity Scan #1229588 & 1229604 Change-Id: Iedd4f956d846f1c8661390b346c7397346def86b Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/18100 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/nvidia/mcp55')
-rw-r--r--src/southbridge/nvidia/mcp55/nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/mcp55/nic.c b/src/southbridge/nvidia/mcp55/nic.c
index 2474ef325b..be9daf7d7c 100644
--- a/src/southbridge/nvidia/mcp55/nic.c
+++ b/src/southbridge/nvidia/mcp55/nic.c
@@ -72,7 +72,7 @@ static void phy_detect(u8 *base)
val = phy_read(base, phyaddr, 1);
if (val < 0)
continue;
- if ((val & 0xffff) == 0xfffff)
+ if ((val & 0xffff) == 0xffff)
continue;
if ((val & 0xffff) == 0)
continue;