From 581fe58b8a7c58cc3653a993f2f91ff7e3b16d78 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 26 Apr 2018 09:57:07 +0200 Subject: src/southbridge: Add spaces around '==' Change-Id: Ic81601cef841076a7548ccb3bdf0ed1b5420873e Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/25853 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Held --- src/southbridge/nvidia/mcp55/nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge/nvidia') 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))); -- cgit v1.2.3