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:
committed by
Stefan Reinauer
parent
0dd63a26a2
commit
30a4a936cb
@@ -41,7 +41,7 @@ static void pc97317_enable_serial(device_t dev, unsigned iobase)
|
|||||||
outb(inb(PM_BASE + 1) | 0x07, PM_BASE + 1);
|
outb(inb(PM_BASE + 1) | 0x07, PM_BASE + 1);
|
||||||
|
|
||||||
/* Wait for the clock to stabilise */
|
/* 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 */
|
/* Set the base address of the port */
|
||||||
|
Reference in New Issue
Block a user