diff options
author | Stefan Reinauer <stepan@openbios.org> | 2010-02-15 23:27:48 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-02-15 23:27:48 +0000 |
commit | 57aad997778870f68332995c7aad67d2372267b6 (patch) | |
tree | 067467ea025ae71ca343d4893c0c3cb3dfd24c1e /src/superio/nsc | |
parent | d41fdce37567152e834e82dddbd95a77d1e13919 (diff) |
fix clock polling in pc97317 driver.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5129 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/nsc')
-rw-r--r-- | src/superio/nsc/pc97317/pc97317_early_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/nsc/pc97317/pc97317_early_serial.c b/src/superio/nsc/pc97317/pc97317_early_serial.c index c538fa807..175d490f1 100644 --- a/src/superio/nsc/pc97317/pc97317_early_serial.c +++ b/src/superio/nsc/pc97317/pc97317_early_serial.c @@ -41,7 +41,7 @@ static void pc97317_enable_serial(device_t dev, unsigned iobase) outb(inb(PM_BASE + 1) | 0x07, PM_BASE + 1); /* Wait for the clock to stabilise */ - while(!inb(PM_BASE + 1 & 0x80)) + while(!(inb(PM_BASE + 1) & 0x80)) ; /* Set the base address of the port */ |