the following patch was just integrated into master: commit 5f1cfd8ee9d400f20a5aa30eb50b9afb5e2694db Author: Kevin O'Connor kevin@koconnor.net Date: Sat Jul 9 20:22:21 2011 -0400
Do full flush on uart8250 only at end of printk.
The previous code does a full flush of the uart after every character. Unfortunately, this can cause transmission delays on some serial ports.
This patch changes the code so that it does a flush at the end of every printk instead of at the end of every character. This reduces the time it takes to transmit serial messages (up to 9% on my Asrock e350m1 board). It also makes the transmission time more consistent which is important when performing timing tests via serial transmissions.
Change-Id: I6b28488b905da68c6d68d7c517cc743cde567d70 Signed-off-by: Kevin O'Connor kevin@koconnor.net
See http://review.coreboot.org/90 for details.
-gerrit