Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6130 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-11-29 00:20:20 +00:00
committed by Stefan Reinauer
parent d73c50565b
commit 6fc7d27983

View File

@@ -54,7 +54,7 @@ static int set_bits(u32 port, u32 mask, u32 val)
reg32 &= mask; reg32 &= mask;
} while ((reg32 != val) && --count); } while ((reg32 != val) && --count);
/* Timeout occureed */ /* Timeout occurred */
if (!count) if (!count)
return -1; return -1;
return 0; return 0;