summaryrefslogtreecommitdiff
path: root/src/superio/nsc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-02-15 23:27:48 +0000
committerStefan Reinauer <stepan@openbios.org>2010-02-15 23:27:48 +0000
commit30a4a936cb99dbed9206ca49ae39e897497274b9 (patch)
tree067467ea025ae71ca343d4893c0c3cb3dfd24c1e /src/superio/nsc
parent0dd63a26a24b3503c6082a99fba3814a3cc4a92a (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.c2
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 c538fa8071..175d490f1b 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 */