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
This commit is contained in:
Stefan Reinauer 2010-02-15 23:27:48 +00:00 committed by Stefan Reinauer
parent 0dd63a26a2
commit 30a4a936cb
1 changed files with 1 additions and 1 deletions

View File

@ -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 */