summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-04-26 09:57:07 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-04-28 15:21:51 +0000
commit581fe58b8a7c58cc3653a993f2f91ff7e3b16d78 (patch)
tree002d2139734518841a3b684b4b560565666d08bf /src/southbridge/nvidia
parent963d312e62e4c2f5a8a34b1312d3165d299e550c (diff)
downloadcoreboot-581fe58b8a7c58cc3653a993f2f91ff7e3b16d78.tar.xz
src/southbridge: Add spaces around '=='
Change-Id: Ic81601cef841076a7548ccb3bdf0ed1b5420873e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/25853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/southbridge/nvidia')
-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 be9daf7d7c..788b6efd17 100644
--- a/src/southbridge/nvidia/mcp55/nic.c
+++ b/src/southbridge/nvidia/mcp55/nic.c
@@ -42,7 +42,7 @@ static int phy_read(u8 *base, unsigned phy_addr, unsigned phy_reg)
write32(base + 0x190, (phy_addr << 5) | (phy_reg));
do {
dword = read32(base + 0x190);
- if (--loop==0)
+ if (--loop == 0)
return -4;
} while ((dword & (1 << 15)));