diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-02-15 23:27:48 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-02-15 23:27:48 +0000 |
commit | 30a4a936cb99dbed9206ca49ae39e897497274b9 (patch) | |
tree | 067467ea025ae71ca343d4893c0c3cb3dfd24c1e /src/superio | |
parent | 0dd63a26a24b3503c6082a99fba3814a3cc4a92a (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')
-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 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 */ |