Author: stepan Date: Tue Feb 16 00:27:48 2010 New Revision: 5129 URL: http://tracker.coreboot.org/trac/coreboot/changeset/5129
Log: fix clock polling in pc97317 driver. Signed-off-by: Stefan Reinauer <[email protected]> Acked-by: Stefan Reinauer <[email protected]> Modified: trunk/src/superio/nsc/pc97317/pc97317_early_serial.c Modified: trunk/src/superio/nsc/pc97317/pc97317_early_serial.c ============================================================================== --- trunk/src/superio/nsc/pc97317/pc97317_early_serial.c Tue Feb 16 00:24:51 2010 (r5128) +++ trunk/src/superio/nsc/pc97317/pc97317_early_serial.c Tue Feb 16 00:27:48 2010 (r5129) @@ -41,7 +41,7 @@ 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 */ -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

