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>
This commit is contained in:
Martin Roth 2017-01-11 09:43:52 -07:00
parent 9b2fe630d6
commit eec3402339
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static void phy_detect(u8 *base)
val = phy_read(base, phyaddr, 1); val = phy_read(base, phyaddr, 1);
if (val < 0) if (val < 0)
continue; continue;
if ((val & 0xffff) == 0xfffff) if ((val & 0xffff) == 0xffff)
continue; continue;
if ((val & 0xffff) == 0) if ((val & 0xffff) == 0)
continue; continue;